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:
authorNicholas Bishop <nicholasbishop@gmail.com>2009-08-16 06:49:37 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2009-08-16 06:49:37 +0400
commitc0718d2d4ab6a5ee51ca6164cfc44256867d8701 (patch)
treeb7bce15ddc6b0805d0c582bd7289791a48d1b8dc /source/blender/makesdna/DNA_object_types.h
parentabcdc909ebe64703da50bf9388d36812625d9d39 (diff)
2.5:
* Updated object mode flags with Object and Edit. * Updated RNA for that property
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 6e6f53da882..b4d299a7aa1 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -512,12 +512,13 @@ extern Object workob;
#define OB_LOCK_SCALE 448
/* ob->mode */
-#define OB_MODE_NONE 0
-#define OB_MODE_SCULPT 1
-#define OB_MODE_VERTEX_PAINT 2
-#define OB_MODE_WEIGHT_PAINT 4
-#define OB_MODE_TEXTURE_PAINT 8
-#define OB_MODE_PARTICLE_EDIT 16
+#define OB_MODE_OBJECT 0
+#define OB_MODE_EDIT 1
+#define OB_MODE_SCULPT 2
+#define OB_MODE_VERTEX_PAINT 4
+#define OB_MODE_WEIGHT_PAINT 8
+#define OB_MODE_TEXTURE_PAINT 16
+#define OB_MODE_PARTICLE_EDIT 32
/* ob->softflag in DNA_object_force.h */