diff options
author | Jacques Lucke <jacques@blender.org> | 2020-04-28 18:40:23 +0300 |
---|---|---|
committer | Jacques Lucke <jacques@blender.org> | 2020-04-28 18:40:23 +0300 |
commit | 7dfa1b18c1fc32d983f34dd72fcb8c0363a53157 (patch) | |
tree | bb50f84bc014d45b2016fc2f1cbb93f77e6739af /source/blender/depsgraph/intern/depsgraph_eval.cc | |
parent | 7bc4a436a0811dd8822c5c77f28aac81e64277b8 (diff) |
Depsgraph: use BLI::Set for entry_tags
Reviewers: sergey
Differential Revision: https://developer.blender.org/D7555
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 9251d975125..26ceaaa899c 100644 --- a/source/blender/depsgraph/intern/depsgraph_eval.cc +++ b/source/blender/depsgraph/intern/depsgraph_eval.cc @@ -87,5 +87,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 || deg_graph->need_update_time; + return !deg_graph->entry_tags.is_empty() || deg_graph->need_update_time; } |