소스 검색

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