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>2007-06-03 12:34:32 +0400
committerTon Roosendaal <ton@blender.org>2007-06-03 12:34:32 +0400
commit0016aa9e71fb371b6f0f50f4e8fa118f8179e19e (patch)
treeb7154f8ae42f3474306022e50ae944d69840aca8 /source/blender/makesdna/DNA_object_types.h
parent98a77bc9c61197f0a143ccd23dfd67526bd8f552 (diff)
Bugfix #6799
Particle system was messing up depsgraph tags, causing bad results in commandline renders especially (or in rendering first frame of animation). Fixed with introducing a temp storage tag in Objects. The real fix should be to make particle systems behave nice inside the depsgraph.
Diffstat (limited to 'source/blender/makesdna/DNA_object_types.h')
-rw-r--r--source/blender/makesdna/DNA_object_types.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesdna/DNA_object_types.h b/source/blender/makesdna/DNA_object_types.h
index 228b9bcc90e..411c02cfbb0 100644
--- a/source/blender/makesdna/DNA_object_types.h
+++ b/source/blender/makesdna/DNA_object_types.h
@@ -204,7 +204,7 @@ typedef struct Object {
short shapenr, shapeflag; /* current shape key for menu or pinned, flag for pinning */
float smoothresh; /* smoothresh is phong interpolation ray_shadow correction in render */
- int pad4;
+ short recalco, pad4; /* recalco for temp storage of ob->recalc, bad design warning */
struct FluidsimSettings *fluidsimSettings; /* if fluidsim enabled, store additional settings */