bstouls %!s(int64=10) %!d(string=hai) anos
pai
achega
ce728f4282
Modificáronse 3 ficheiros con 1 adicións e 1 borrados
  1. 0 1
      tools/fbx/TreeView.hx
  2. 1 0
      tools/fbx/Viewer.hx
  3. BIN=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=BIN
tools/fbx/fbxViewer.swf