diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-26 17:58:37 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2019-02-27 16:45:38 +0300 |
commit | 05dc3d43caf5a5153a8bd1e69d5f77b0e019aa3d (patch) | |
tree | 5ffb91daad9a43ba754d52a8a315aa03d01cc43b /source/blender/depsgraph/intern/builder/deg_builder_nodes.cc | |
parent | 8a432c1a4061492fbb0b8c1880a2408444e8009a (diff) |
Move base flags evaluation to its own function
No need to have iterator loop in the view layer evaluation,
this only makes it more difficult to have base flags covered
by the dependency graph.
Other good thing is that we don't need to worry about whether
base has been removed from the evaluated view layer or not.
Reviewers: brecht
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D4414
Diffstat (limited to 'source/blender/depsgraph/intern/builder/deg_builder_nodes.cc')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_nodes.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc index 0fe4afd7b55..d0723ea0ded 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc @@ -658,7 +658,7 @@ void DepsgraphNodeBuilder::build_object_flags( add_operation_node(&object->id, NodeType::OBJECT_FROM_LAYER, OperationCode::OBJECT_BASE_FLAGS, - function_bind(BKE_object_eval_flush_base_flags, + function_bind(BKE_object_eval_eval_base_flags, _1, scene_cow, view_layer_index_, |