Răsfoiți Sursa

Display proper model name in inspector

Josh Engebretson 10 ani în urmă
părinte
comite
5ab470312c
1 a modificat fișierele cu 0 adăugiri și 3 ștergeri
  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())