Browse Source

Exclude .atlas file type from resource browser XML parsing attempt.

Lasse Öörni 10 years ago
parent
commit
77603f30df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      bin/Data/Scripts/Editor/EditorResourceBrowser.as

+ 1 - 1
bin/Data/Scripts/Editor/EditorResourceBrowser.as

@@ -1235,7 +1235,7 @@ bool GetBinaryType(String path, StringHash &out fileType, bool useCache = false)
 bool GetXmlType(String path, StringHash &out fileType, bool useCache = false)
 bool GetXmlType(String path, StringHash &out fileType, bool useCache = false)
 {
 {
     String extension = GetExtension(path);
     String extension = GetExtension(path);
-    if (extension == ".txt" || extension == ".json" || extension == ".icns")
+    if (extension == ".txt" || extension == ".json" || extension == ".icns" || extension == ".atlas")
         return false;
         return false;
 
 
     String name;
     String name;