added Mesh.calc_tessface(), needed to update mesh tessface after bmesh edits.

also add py api BMDeformVert.clear()
This commit is contained in:
Campbell Barton
2012-03-29 13:44:30 +00:00
parent f87c5b3453
commit 20e2330434
5 changed files with 40 additions and 1 deletions

View File

@@ -75,6 +75,16 @@ its good practice to call :class:`bmesh.types.BMesh.free` which will remove all
further access.
EditMode Tessellation
^^^^^^^^^^^^^^^^^^^^^
When writing scripts that operate on editmode data you will normally want to re-calculate the tessellation after
running the script, this needs to be called explicitly.
The BMesh its self does not store the triangulated faces, they are stored in the :class:`bpy.types.Mesh`,
to refresh tessellation faces call :class:`bpy.types.Mesh.calc_tessface`.
CustomData Access
-----------------