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:
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index d91fcac49c1..f951b7273c9 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -114,10 +114,6 @@ typedef struct LodLevel {
int obhysteresis;
} LodLevel;
-typedef struct ObjectDisplay {
- int flag;
-} ObjectDisplay;
-
/* Forward declaration for cache bbone deformation information.
*
* TODO(sergey): Consider moving it to more appropriate place. */
@@ -380,12 +376,8 @@ typedef struct Object {
int pad6;
int select_color;
- /* Runtime evaluation data. */
+ /* Runtime evaluation data (keep last). */
Object_Runtime runtime;
-
- /* Object Display */
- struct ObjectDisplay display;
- int pad9;
} Object;
/* Warning, this is not used anymore because hooks are now modifiers */
@@ -444,11 +436,6 @@ enum {
OB_TYPE_MAX,
};
-/* ObjectDisplay.flag */
-enum {
- OB_SHOW_SHADOW = (1 << 0),
-};
-
/* check if the object type supports materials */
#define OB_TYPE_SUPPORT_MATERIAL(_type) \
(((_type) >= OB_MESH && (_type) <= OB_MBALL) || ((_type) == OB_GPENCIL))
@@ -545,6 +532,7 @@ enum {
/* enable transparent draw */
OB_DRAWTRANSP = 1 << 7,
OB_DRAW_ALL_EDGES = 1 << 8, /* only for meshes currently */
+ OB_DRAW_NO_SHADOW_CAST = 1 << 9,
};
/* empty_drawtype: no flags */