Sfoglia il codice sorgente

fixed drop fbx/hmd into prefab scene

Nicolas Cannasse 5 anni fa
parent
commit
f544124589
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      hide/comp/SceneEditor.hx

+ 1 - 1
hide/comp/SceneEditor.hx

@@ -1538,7 +1538,7 @@ class SceneEditor {
 		var paths = [];
 		var paths = [];
 		for(path in items) {
 		for(path in items) {
 			var ext = haxe.io.Path.extension(path).toLowerCase();
 			var ext = haxe.io.Path.extension(path).toLowerCase();
-			if( supported.exists(ext) )
+			if( supported.exists(ext) || ext == "fbx" || ext == "hmd" )
 				paths.push(path);
 				paths.push(path);
 		}
 		}
 		if( paths.length == 0 )
 		if( paths.length == 0 )