Procházet zdrojové kódy

Display proper model name in inspector

Josh Engebretson před 10 roky
rodič
revize
5ab470312c
1 změnil soubory, kde provedl 0 přidání a 3 odebrání
  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())