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:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-11-04 19:53:34 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-11-04 19:53:34 +0400
commit77934cfaed55b559637e37ce9c158cd703cec360 (patch)
tree19c3e947a70b89dd7e000a72d3aaf1be8c707a2e /source/blender/makesdna/DNA_object_types.h
parentac47da5d6b42ba605a652d681c36c50e40c81646 (diff)
Fix #28865: Draw_bounds_type does not display Polyhedron or Capsule types
Separate DNA properties for bounding box used for bounding box display in 3d viewport and bounding box used for collision detection in game engine. Bumped subversion for proper updating old files to new system, but it need more complex testing.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 3e17d7f4942..d158f227df5 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -265,7 +265,9 @@ typedef struct Object {
ListBase *duplilist; /* for temporary dupli list storage, only for use by RNA API */
float ima_ofs[2]; /* offset for image empties */
- char pad3[8];
+
+ short collision_boundtype; /* bounding box type used for collision */
+ char pad3[6];
} Object;
/* Warning, this is not used anymore because hooks are now modifiers */