Explorar o código

Display proper model name in inspector

Josh Engebretson %!s(int64=10) %!d(string=hai) anos
pai
achega
5ab470312c
Modificáronse 1 ficheiros con 0 adicións e 3 borrados
  1. 0 3
      Source/ToolCore/Assets/AssetDatabase.cpp

+ 0 - 3
Source/ToolCore/Assets/AssetDatabase.cpp

@@ -98,9 +98,6 @@ Asset* AssetDatabase::GetAssetByCachePath(const String& cachePath)
 {
     List<SharedPtr<Asset>>::ConstIterator itr = assets_.Begin();
 
-    if (!cachePath.StartsWith("Cache/"))
-        return 0;
-
     String cacheFilename = GetFileName(cachePath);
 
     while (itr != assets_.End())