bstouls 10 years ago
parent
commit
ce728f4282
3 changed files with 1 additions and 1 deletions
  1. 0 1
      tools/fbx/TreeView.hx
  2. 1 0
      tools/fbx/Viewer.hx
  3. BIN
      tools/fbx/fbxViewer.swf

+ 0 - 1
tools/fbx/TreeView.hx

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

+ 1 - 0
tools/fbx/Viewer.hx

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

BIN
tools/fbx/fbxViewer.swf