diff options
author | Ton Roosendaal <ton@blender.org> | 2006-05-30 16:43:06 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-05-30 16:43:06 +0400 |
commit | 7130ab3fe65df232de7df4c3913172f4f65d7ff1 (patch) | |
tree | 9154e38fba36e2c094ed42d1bdd8b704ce2e8e20 /source/blender/makesdna/DNA_object_types.h | |
parent | a7c61f96f676b94cdd30d55f39fad9b1bd41ab5b (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.h | 5 |
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 |