浏览代码

fix anim detection

ncannasse 11 年之前
父节点
当前提交
e287787326
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/res/LocalFileSystem.hx

+ 1 - 1
hxd/res/LocalFileSystem.hx

@@ -46,7 +46,7 @@ private class LocalEntry extends FileEntry {
 			hmdout.load(fbx);
 			if( extension == "xtra" )
 				hmdout.loadXtra(getBytes().toString());
-			var hmd = hmdout.toHMD(null, !StringTools.startsWith(relPath, "Anim_"));
+			var hmd = hmdout.toHMD(null, !StringTools.startsWith(name, "Anim_"));
 			var out = new haxe.io.BytesOutput();
 			new hxd.fmt.hmd.Writer(out).write(hmd);
 			return out.getBytes();