浏览代码

minor fbx fix

Nicolas Cannasse 9 年之前
父节点
当前提交
053344ae4a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/fmt/fbx/BaseLibrary.hx

+ 1 - 1
hxd/fmt/fbx/BaseLibrary.hx

@@ -452,7 +452,7 @@ class BaseLibrary {
 			return null;
 		// if it's a move animation on a terminal unskinned joint, let's skip it
 		if( def.wasRemoved != null ) {
-			if( curveName != "Visibility" && curveName != "UV" )
+			if( (curveName != "Visibility" && curveName != "UV") || def.wasRemoved == -1 )
 				return null;
 			// apply it on the skin instead
 			model = ids.get(def.wasRemoved);