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
parent 75e8e3779b
commit 3801f76b7b
Notes: blender-bot 2024-03-25 12:30:38 +01:00
Referenced by issue #53683, 2.79a release
Referenced by issue #52932, Driver on lamp shader node tree refuses to update
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