Python API

----------
Bugfix #8615: NMesh.update() did not check if faces had less than 3 vertices, so would create bogus faces.  

Also discovered in the process that documentation and error message for Mesh.assignVertsToGroup() was wrong.
This commit is contained in:
Ken Hughes
2008-03-26 17:29:20 +00:00
parent 972b0a5218
commit 2976a38fd9
3 changed files with 15 additions and 9 deletions

View File

@@ -987,7 +987,7 @@ class Mesh:
@param group: the name of a vertex group.
"""
def assignVertsToGroup(group, vertList, weight, assignmode = AssignModes['REPLACE']):
def assignVertsToGroup(group, vertList, weight, assignmode):
"""
Adds an array (a Python list) of vertex points to a named vertex group
associated with a mesh. The vertex list is a list of vertex indices from