[#10223] a new object function to add vertex group from an armature
Patch from Jean-Michel Soler (with slight modifs) Small BPy feature to help script writers deal with armatures and vertex groups (calls the bone heat method to create and assign groups)
This commit is contained in:
@@ -651,6 +651,13 @@ class Object:
|
||||
Link a new particle system (see Blender.Particle).
|
||||
"""
|
||||
|
||||
def addVertexGroupsFromArmature(object):
|
||||
"""
|
||||
Add vertex groups from armature using the bone heat method
|
||||
This method can be only used with an Object of the type Mesh when NOT in edit mode.
|
||||
@type object: a bpy armature
|
||||
"""
|
||||
|
||||
def buildParts():
|
||||
"""
|
||||
Recomputes the particle system. This method only applies to an Object of
|
||||
|
||||
Reference in New Issue
Block a user