diff options
author | Ken Hughes <khughes@pacific.edu> | 2006-05-20 20:52:11 +0400 |
---|---|---|
committer | Ken Hughes <khughes@pacific.edu> | 2006-05-20 20:52:11 +0400 |
commit | f3ae4d0f4d0e89d07c7609cf38a7fbf11451cc90 (patch) | |
tree | 548291772587044535cf003827885a220c058ecb /source/blender/python/api2_2x/Mesh.h | |
parent | befd0075112e14bbf1171134629705491f860dd0 (diff) |
===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.
Diffstat (limited to 'source/blender/python/api2_2x/Mesh.h')
-rw-r--r-- | source/blender/python/api2_2x/Mesh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/python/api2_2x/Mesh.h b/source/blender/python/api2_2x/Mesh.h index ada47b0927c..19518e7f0b6 100644 --- a/source/blender/python/api2_2x/Mesh.h +++ b/source/blender/python/api2_2x/Mesh.h @@ -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 */ |