diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-02-25 13:44:39 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-02-25 13:52:56 +0400 |
commit | f2309ba57943eb7e5a06119b6d45d9ba3b664c8b (patch) | |
tree | 44e32047cd67f914ee5d848dd85fba08d54a1d8a /source/blender/blenkernel/intern/anim.c | |
parent | 3ae641eb020ea61a595840eee8cbcc9f7ee36043 (diff) |
Fix T38824: curve which is constrained on a hidden layer causes cycles crash
Issue was caused by cycles setting scene frame which will update scene for
all the layers (not just visible ones) which confuses depsgraph making
objects which are needed as dependency are not really evaluated.
Made it so setting frame via scene.frame_set() which check whether update
need to be flushed to an invisible objects and do this if so.
Not ideal solution but seems to be safest at this point.
Diffstat (limited to 'source/blender/blenkernel/intern/anim.c')
-rw-r--r-- | source/blender/blenkernel/intern/anim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/anim.c b/source/blender/blenkernel/intern/anim.c index 31e388e6b6b..167baec3d9f 100644 --- a/source/blender/blenkernel/intern/anim.c +++ b/source/blender/blenkernel/intern/anim.c @@ -315,7 +315,7 @@ static void motionpaths_calc_update_scene(Scene *scene) Base *base, *last = NULL; /* only stuff that moves or needs display still */ - DAG_scene_update_flags(G.main, scene, scene->lay, TRUE); + DAG_scene_update_flags(G.main, scene, scene->lay, true, false); /* find the last object with the tag * - all those afterwards are assumed to not be relevant for our calculations |