===Python API===

Something to try making import/export script writers happy; Mesh.New() will
not create a new Blender mesh datablock unless the mesh is linked to an
object.
This commit is contained in:
Ken Hughes
2006-05-20 16:52:11 +00:00
parent befd007511
commit f3ae4d0f4d
3 changed files with 11 additions and 0 deletions

View File

@@ -132,6 +132,8 @@ def New(name='Mesh'):
@param name: The name of the mesh data object.
@rtype: Mesh
@return: a new Blender mesh.
@note: if the mesh is not linked to an object, its datablock will be deleted
when the object is deallocated.
"""
def Mode(mode=0):