Don't force load asset on asset clone if it's unused
This commit is contained in:
@@ -1003,7 +1003,7 @@ bool Content::CloneAssetFile(const StringView& dstPath, const StringView& srcPat
|
||||
FileSystem::DeleteFile(tmpPath);
|
||||
|
||||
// Reload storage
|
||||
if (auto storage = ContentStorageManager::GetStorage(dstPath))
|
||||
if (auto storage = ContentStorageManager::GetStorage(dstPath, false))
|
||||
{
|
||||
storage->Reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user