diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-31 17:39:33 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-07-31 17:40:10 +0300 |
commit | 0b2cb96725bfb9aecc6a90cbfc44b427021f3fca (patch) | |
tree | 5e81b836bd2123ec2882c7249d7142c10bfcbab6 /source/blender/depsgraph/intern/depsgraph_eval.cc | |
parent | 96843ae85cc040b36de34061a29790dc2e096eec (diff) |
Depsgraph: Fix wrong check for need-to-be-evaluated
Was missing since 1693a5efe91.
Diffstat (limited to 'source/blender/depsgraph/intern/depsgraph_eval.cc')
-rw-r--r-- | source/blender/depsgraph/intern/depsgraph_eval.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |