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:
authorNathan Letwory <nathan@letworyinteractive.com>2006-01-06 15:37:45 +0300
committerNathan Letwory <nathan@letworyinteractive.com>2006-01-06 15:37:45 +0300
commit50e26b7637bfb1a2e4ca845b254feb313a353100 (patch)
treeea4a0202cacb2322bd5e669219eed89cd29a1009 /source/blender/makesdna
parent4a641caddd7dea33eb4f9709a2723a2e9aadb53d (diff)
Todo #2574
Setchain: it allows you to chain sets. It checks for loops when trying to assign new scene, and will notify if changing set would create a loop.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r--source/blender/makesdna/DNA_scene_types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_scene_types.h b/source/blender/makesdna/DNA_scene_types.h
index fe54a631bdd..f4ee028aed6 100644
--- a/source/blender/makesdna/DNA_scene_types.h
+++ b/source/blender/makesdna/DNA_scene_types.h
@@ -321,7 +321,7 @@ typedef struct Scene {
/* none of the dependancy graph vars is mean to be saved */
struct DagForest *theDag;
short dagisvalid, dagflags;
- int pad1;
+ int dirty;
} Scene;
@@ -448,6 +448,10 @@ typedef struct Scene {
#define SCE_SELECT_EDGE 2
#define SCE_SELECT_FACE 4
+/* sce->dirty */
+#define SCE_CLEAN 0
+#define SCE_DIRTY 1
+
/* sce->prop_mode (proportional falloff) */
#define PROP_SMOOTH 0
#define PROP_SPHERE 1