Commit: 0b2cb96725bfb9aecc6a90cbfc44b427021f3fca
Author: Sergey Sharybin
Date: Wed Jul 31 16:39:33 2019 +0200
Branches: master
https://developer.blender.org/rB0b2cb96725bfb9aecc6a90cbfc44b427021f3fca
Depsgraph: Fix wrong check for need-to-be-evaluated
Was missing since 1693a5efe91.
===================================================================
M source/blender/depsgraph/intern/depsgraph_eval.cc
===================================================================
diff --git a/source/blender/depsgraph/intern/depsgraph_eval.cc
b/source/blender/depsgraph/intern/depsgraph_eval.cc
index f519fe76724..55241d03e94 100644
--- a/source/blender/depsgraph/intern/depsgraph_eval.cc
+++ b/source/blender/depsgraph/intern/depsgraph_eval.cc
@@ -86,5 +86,5 @@ void DEG_evaluate_on_framechange(Main *bmain, Depsgraph
*graph, float ctime)
bool DEG_needs_eval(Depsgraph *graph)
{
DEG::Depsgraph *deg_graph = reinterpret_cast<DEG::Depsgraph *>(graph);
- return BLI_gset_len(deg_graph->entry_tags) != 0;
+ return BLI_gset_len(deg_graph->entry_tags) != 0 ||
deg_graph->need_update_time;
}
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs