瀏覽代碼

Display proper model name in inspector

Josh Engebretson 10 年之前
父節點
當前提交
5ab470312c
共有 1 個文件被更改,包括 0 次插入3 次删除
  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();
     List<SharedPtr<Asset>>::ConstIterator itr = assets_.Begin();
 
 
-    if (!cachePath.StartsWith("Cache/"))
-        return 0;
-
     String cacheFilename = GetFileName(cachePath);
     String cacheFilename = GetFileName(cachePath);
 
 
     while (itr != assets_.End())
     while (itr != assets_.End())