Depsgraph: Use more proper relations for scene relation

This commit is contained in:
Sergey Sharybin 2018-06-07 12:57:09 +02:00
parent da8d33e2e3
commit 30ec94561c
1 changed files with 2 additions and 3 deletions

View File

@ -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 */