Browse Source

Merge pull request #406 from AtomicGameEngine/JME-ATOMIC-FIXMODELREF

Display proper model name in inspector
JoshEngebretson 10 years ago
parent
commit
a9c5932129
1 changed files with 0 additions and 3 deletions
  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())