Fix T52932: Driver with target of custom property from scene fails to update

Note that this is only supported in new depsgraph.
This commit is contained in:
Sergey Sharybin 2017-09-28 16:13:28 +05:00 committed by Bastien Montagne
parent 2edc2b4912
commit ad834085b7
1 changed files with 7 additions and 0 deletions

View File

@ -126,6 +126,13 @@ void DepsgraphNodeBuilder::build_scene(Main *bmain, Scene *scene)
LINKLIST_FOREACH (MovieClip *, clip, &bmain->movieclip) {
build_movieclip(clip);
}
/* Parameters evaluation for scene relations mainly. */
add_operation_node(&scene->id,
DEG_NODE_TYPE_PARAMETERS,
NULL,
DEG_OPCODE_PLACEHOLDER,
"Scene Eval");
}
} // namespace DEG