2
0
bstouls 10 жил өмнө
parent
commit
ce728f4282

+ 0 - 1
tools/fbx/TreeView.hx

@@ -224,7 +224,6 @@ class TreeView
 	}
 	}
 
 
 	public static function init(scene2d) {
 	public static function init(scene2d) {
-		Res.loader = new hxd.res.Loader(new hxd.fs.LocalFileSystem("res"));
 		s2d = scene2d;
 		s2d = scene2d;
 
 
 		if(cont == null) {
 		if(cont == null) {

+ 1 - 0
tools/fbx/Viewer.hx

@@ -819,6 +819,7 @@ class Viewer extends hxd.App {
 	}
 	}
 
 
 	static function main() {
 	static function main() {
+		hxd.Res.initEmbed();
 		inst = new Viewer();
 		inst = new Viewer();
 		if( flash.system.Capabilities.playerType == "Desktop" )
 		if( flash.system.Capabilities.playerType == "Desktop" )
 			initAIR();
 			initAIR();

BIN
tools/fbx/fbxViewer.swf