From dd4f18b6386933e5e89a3ac2a4c53ce2479b4dae Mon Sep 17 00:00:00 2001 From: Jan Date: Tue, 31 Dec 2024 15:53:48 +0100 Subject: [PATCH] chore: do not consider not finding global asset a failure --- src/ObjLoading/Asset/GlobalAssetPoolsLoader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ObjLoading/Asset/GlobalAssetPoolsLoader.h b/src/ObjLoading/Asset/GlobalAssetPoolsLoader.h index b7a8b69b..b9f3bd23 100644 --- a/src/ObjLoading/Asset/GlobalAssetPoolsLoader.h +++ b/src/ObjLoading/Asset/GlobalAssetPoolsLoader.h @@ -17,7 +17,7 @@ public: auto* existingAsset = GlobalAssetPool::GetAssetByName(assetName); if (!existingAsset) - return AssetCreationResult::Failure(); + return AssetCreationResult::NoAction(); AssetRegistration registration(assetName, existingAsset->Asset());