From 20e233043470c05fce0e1b78fbce141a8275133c Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 29 Mar 2012 13:44:30 +0000 Subject: added Mesh.calc_tessface(), needed to update mesh tessface after bmesh edits. also add py api BMDeformVert.clear() --- doc/python_api/rst/include__bmesh.rst | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'doc') diff --git a/doc/python_api/rst/include__bmesh.rst b/doc/python_api/rst/include__bmesh.rst index 82cc525ecb7..24f113e7b50 100644 --- a/doc/python_api/rst/include__bmesh.rst +++ b/doc/python_api/rst/include__bmesh.rst @@ -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 ----------------- -- cgit v1.2.3