ncannasse 7 years ago
parent
commit
0f5c26b089
1 changed files with 1 additions and 1 deletions
  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 ) {
 				var hmdOut = new hxd.fmt.fbx.HMDOut(fullPath);
 				hmdOut.absoluteTexturePath = true;
-				hmdOut.loadTextFile(data);
+				hmdOut.loadFile(data);
 				var hmd = hmdOut.toHMD(null, !isAnimation);
 				var out = new haxe.io.BytesOutput();
 				new hxd.fmt.hmd.Writer(out).write(hmd);