|
@@ -356,7 +356,7 @@ class Scene extends Component implements h3d.IDrawable {
|
|
if( e == null ) {
|
|
if( e == null ) {
|
|
var data = sys.io.File.getBytes(fullPath);
|
|
var data = sys.io.File.getBytes(fullPath);
|
|
if( data.get(0) != 'H'.code ) {
|
|
if( data.get(0) != 'H'.code ) {
|
|
- var hmdOut = new hxd.fmt.fbx.HMDOut();
|
|
|
|
|
|
+ var hmdOut = new hxd.fmt.fbx.HMDOut(fullPath);
|
|
hmdOut.absoluteTexturePath = true;
|
|
hmdOut.absoluteTexturePath = true;
|
|
hmdOut.loadTextFile(data.toString());
|
|
hmdOut.loadTextFile(data.toString());
|
|
var hmd = hmdOut.toHMD(null, !isAnimation);
|
|
var hmd = hmdOut.toHMD(null, !isAnimation);
|