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:
authorTon Roosendaal <ton@blender.org>2006-05-30 16:43:06 +0400
committerTon Roosendaal <ton@blender.org>2006-05-30 16:43:06 +0400
commit7130ab3fe65df232de7df4c3913172f4f65d7ff1 (patch)
tree9154e38fba36e2c094ed42d1bdd8b704ce2e8e20 /source/blender/makesdna/DNA_object_types.h
parenta7c61f96f676b94cdd30d55f39fad9b1bd41ab5b (diff)
Bugfixes 4082 4112 4172 4232
Each report was about a different failure with Particles, all related to weak handling of animation systems and the depsgraph. Fix has 2 parts; depsgraph now signals "object recalc" to be for time changes; this then is used to bypass particle-building (since that's baked). Other part is better object caching while makig particles.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 023dc5f015c..170c5d5b7cb 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -345,8 +345,9 @@ extern Object workob;
/* ob->recalc (flag bits!) */
#define OB_RECALC_OB 1
#define OB_RECALC_DATA 2
-#define OB_RECALC 3
-
+ /* time flag is set when time changes need recalc, so baked systems can ignore it */
+#define OB_RECALC_TIME 4
+#define OB_RECALC 7
/* ob->gameflag */
#define OB_DYNAMIC 1