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:
authorJeroen Bakker <j.bakker@atmind.nl>2018-05-09 16:13:12 +0300
committerJeroen Bakker <j.bakker@atmind.nl>2018-05-09 16:14:43 +0300
commitd3b80c4734d1cc5ece8d3eca5f95068eaec85e81 (patch)
tree752e7f564f8e6f6678c79f4c3a6f662e32a4d1b6 /source/blender/makesdna/DNA_object_types.h
parente8d9b7c95428f2d3efea344adda93098721dab6c (diff)
T55014: Optionally: objects not cast shadows in workbench
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index c5218f85f6a..5139e54b577 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -139,6 +139,10 @@ typedef struct LodLevel {
int obhysteresis;
} LodLevel;
+typedef struct ObjectDisplay {
+ int flag;
+} ObjectDisplay;
+
typedef struct Object {
ID id;
struct AnimData *adt; /* animation data (must be immediately after id for utilities to use it) */
@@ -299,6 +303,10 @@ typedef struct Object {
* It has all modifiers applied.
*/
struct Mesh *mesh_evaluated;
+
+ /* Object Display */
+ struct ObjectDisplay display;
+ int pad9;
} Object;
/* Warning, this is not used anymore because hooks are now modifiers */
@@ -366,6 +374,11 @@ enum {
OB_ARMATURE = 25,
};
+/* 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)