diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-07 13:57:09 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2018-06-07 15:41:29 +0300 |
commit | 30ec94561c4ef4f2a4686e1ea217cfc8e3ea85f1 (patch) | |
tree | 5f0d872ac6fff357a6f6f380aff277d88b9a45c2 /source/blender/depsgraph | |
parent | da8d33e2e36ed8a5322921617de1452011e0ec9c (diff) |
Depsgraph: Use more proper relations for scene relation
Diffstat (limited to 'source/blender/depsgraph')
-rw-r--r-- | source/blender/depsgraph/intern/builder/deg_builder_relations.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc index 8510687ebab..0dffe60e9d9 100644 --- a/source/blender/depsgraph/intern/builder/deg_builder_relations.cc +++ b/source/blender/depsgraph/intern/builder/deg_builder_relations.cc @@ -1726,9 +1726,8 @@ void DepsgraphRelationBuilder::build_object_data_geometry(Object *object) * evaluated prior to Scene's CoW is ready. */ OperationKey scene_key(&scene_->id, - DEG_NODE_TYPE_PARAMETERS, - DEG_OPCODE_PLACEHOLDER, - "Scene Eval"); + DEG_NODE_TYPE_LAYER_COLLECTIONS, + DEG_OPCODE_VIEW_LAYER_EVAL); DepsRelation *rel = add_relation(scene_key, obdata_ubereval_key, "CoW Relation"); rel->flag |= DEPSREL_FLAG_NO_FLUSH; /* Modifiers */ |