In the UI, when you parent a mesh to an armature with Ctrl-P, you're presented with a question wether you want to parent it to a Bone, the Armature or the Armature Object. For skeletal animation, you have to select "Armature".
When I use armatureObject.makeParent() in python, it seems that that's the equivalent of the 3rd option in the GUI, and the mesh won't get deformed with the poses of the armature. Is there any way to do the parenting in the intended way with the Python API?
I'm continuing Bob Holcomb's MD5 import script and have almost everything working, including vertex groups setup. When I do that parenting to the armature by hand via the GUI after the script has run (I select "Armature", and "Don't create vertex groups", since the script created them already), the mesh deforms with the poses of the armature. If I do the parenting in python with makeParent(), it doesn't.
Scripting in Blender with Python, and working on the API
1 post • Page 1 of 1