bstouls 10 年之前
父節點
當前提交
ce728f4282
共有 3 個文件被更改,包括 1 次插入1 次删除
  1. 0 1
      tools/fbx/TreeView.hx
  2. 1 0
      tools/fbx/Viewer.hx
  3. 二進制
      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();

二進制
tools/fbx/fbxViewer.swf