===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

@@ -115,6 +115,7 @@ typedef struct {
PyObject_HEAD /* required python macro */
Mesh *mesh;
Object *object;
char new; /* was mesh created or already existed? */
} BPy_Mesh;
/* PROTOS */