Ver Fonte

fix: Select the skin in order to get bone count

At least in 3ds Max 2016, it is necessary to select the skin node
before being able to use any of the skin operations.
Amir Ebrahimi há 10 anos atrás
pai
commit
273a1d4f85
1 ficheiros alterados com 1 adições e 0 exclusões
  1. 1 0
      utils/exporters/max/ThreeJSAnimationExporter.ms

+ 1 - 0
utils/exporters/max/ThreeJSAnimationExporter.ms

@@ -1303,6 +1303,7 @@ rollout ThreeJSExporter "ThreeJSExporter"
 			
 			
 			max modify mode
 			max modify mode
 			
 			
+			modPanel.setCurrentObject node.modifiers[#skin]
 			total_bones = skinops.getnumberbones node.modifiers[#skin]
 			total_bones = skinops.getnumberbones node.modifiers[#skin]
 			
 			
 			vertex_count = getNumverts node
 			vertex_count = getNumverts node

粤ICP备19079148号