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:
authorJoshua Leung <aligorith@gmail.com>2007-08-28 15:29:54 +0400
committerJoshua Leung <aligorith@gmail.com>2007-08-28 15:29:54 +0400
commit19f15f6ab34e2a23c3c4eec98ce27464f3982534 (patch)
treefc6ad8f4e3174fec530981e2e5a86af170d9c2a4 /source/blender/makesdna/DNA_object_types.h
parentcaa804e2b67a6b1b31ec2d7da99de7b597fe2140 (diff)
Patch #7081:
Submitted by: David Bryant This patch adds 2 new drawtypes for empties (circle draws a 2d-circle on the x-z plane, and cube draws a regular cube), and allows empties to be used as custom bone shapes. I've modified the patch a bit to fix up weird formatting, optimising the circle-drawing method, but the cube-drawing function has been maintained. In the process, I also moved the mesh-specific code in draw_object_instance to draw_object_mesh_instance so that empties can be used by whatever else might use draw_object_instance too.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 0ae38422b3e..25322fbe477 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -325,6 +325,7 @@ extern Object workob;
#define OB_PLAINAXES 2
#define OB_CIRCLE 3
#define OB_SINGLE_ARROW 4
+#define OB_CUBE 5
/* boundtype */
#define OB_BOUND_BOX 0