瀏覽代碼

Fix build

trethaller 7 年之前
父節點
當前提交
3f8f461b50
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hide/comp/Scene.hx

+ 1 - 1
hide/comp/Scene.hx

@@ -374,7 +374,7 @@ class Scene extends Component implements h3d.IDrawable {
 			if( data.get(0) != 'H'.code ) {
 			if( data.get(0) != 'H'.code ) {
 				var hmdOut = new hxd.fmt.fbx.HMDOut(fullPath);
 				var hmdOut = new hxd.fmt.fbx.HMDOut(fullPath);
 				hmdOut.absoluteTexturePath = true;
 				hmdOut.absoluteTexturePath = true;
-				hmdOut.loadTextFile(data.toString());
+				hmdOut.loadTextFile(data);
 				var hmd = hmdOut.toHMD(null, !isAnimation);
 				var hmd = hmdOut.toHMD(null, !isAnimation);
 				var out = new haxe.io.BytesOutput();
 				var out = new haxe.io.BytesOutput();
 				new hxd.fmt.hmd.Writer(out).write(hmd);
 				new hxd.fmt.hmd.Writer(out).write(hmd);