Browse Source

minor fbx fix

Nicolas Cannasse 9 năm trước cách đây
mục cha
commit
053344ae4a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);