Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Hughes <khughes@pacific.edu>2006-05-20 20:52:11 +0400
committerKen Hughes <khughes@pacific.edu>2006-05-20 20:52:11 +0400
commitf3ae4d0f4d0e89d07c7609cf38a7fbf11451cc90 (patch)
tree548291772587044535cf003827885a220c058ecb /source/blender/python/api2_2x/Mesh.h
parentbefd0075112e14bbf1171134629705491f860dd0 (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.h1
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 */