diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 16:49:19 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2017-10-25 16:49:59 +0300 |
commit | b90e2607a094907cc67dcac8bc3643cd9be6f920 (patch) | |
tree | 5c3a7b665c56fbc0b67aba9438a77a533b1095ae /source/blender/blenkernel/intern/scene.c | |
parent | 54ebbe15349cd9a111c000f703cfb6a7fcbd43f5 (diff) |
Depsgraph: Remove workaround for infinite recursion in scene update
Was needed for legacy lamp/material drivers.
Diffstat (limited to 'source/blender/blenkernel/intern/scene.c')
-rw-r--r-- | source/blender/blenkernel/intern/scene.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/source/blender/blenkernel/intern/scene.c b/source/blender/blenkernel/intern/scene.c index 1736e824a94..1e034a27e64 100644 --- a/source/blender/blenkernel/intern/scene.c +++ b/source/blender/blenkernel/intern/scene.c @@ -1603,11 +1603,6 @@ void BKE_scene_graph_update_tagged(EvaluationContext *eval_ctx, prepare_mesh_for_viewport_render(bmain, scene); /* Flush recalc flags to dependencies. */ DEG_graph_flush_update(bmain, depsgraph); - /* Clear "LIB_TAG_DOIT" flag from all materials, to prevent infinite recursion problems later - * when trying to find materials with drivers that need evaluating [#32017]. - */ - BKE_main_id_tag_idcode(bmain, ID_MA, LIB_TAG_DOIT, false); - BKE_main_id_tag_idcode(bmain, ID_LA, LIB_TAG_DOIT, false); /* Update all objects: drivers, matrices, displists, etc. flags set * by depgraph or manual, no layer check here, gets correct flushed. */ @@ -1651,11 +1646,6 @@ void BKE_scene_graph_update_for_newframe(EvaluationContext *eval_ctx, #ifdef POSE_ANIMATION_WORKAROUND scene_armature_depsgraph_workaround(bmain); #endif - /* Clear "LIB_TAG_DOIT" flag from all materials, to prevent infinite recursion problems later - * when trying to find materials with drivers that need evaluating [#32017]. - */ - BKE_main_id_tag_idcode(bmain, ID_MA, LIB_TAG_DOIT, false); - BKE_main_id_tag_idcode(bmain, ID_LA, LIB_TAG_DOIT, false); /* Update all objects: drivers, matrices, displists, etc. flags set * by depgraph or manual, no layer check here, gets correct flushed. */ |