From fad1e6fdfc9e1cce803d247748f64d2b7f12dc7e Mon Sep 17 00:00:00 2001 From: Wojtek Figat Date: Tue, 23 Mar 2021 09:17:45 +0100 Subject: [PATCH] Fix regression from d65ae8de96d46a5d09bfdbea6da39dda759f0d8c --- Source/Engine/Content/BinaryAsset.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Source/Engine/Content/BinaryAsset.cpp b/Source/Engine/Content/BinaryAsset.cpp index c0e2057ca..baa065698 100644 --- a/Source/Engine/Content/BinaryAsset.cpp +++ b/Source/Engine/Content/BinaryAsset.cpp @@ -362,12 +362,6 @@ bool BinaryAsset::SaveToAsset(const StringView& path, AssetInitData& data, bool if (binaryAsset) binaryAsset->_isSaving = false; - if (!result) - { - // Ensure to have valid cached data about the asset in the registry - Content::GetRegistry()->RegisterAsset(data.Header, pathNorm); - } - return result; }