Fix T63325: Drivers freezing input value
Not sure why driver would be affecting on the behavior, the actual issue was caused by lack of proper relations built for lamps and cameras.
This commit is contained in:
parent
1c1e3de015
commit
9ed8f8a968
Notes:
blender-bot
2023-02-14 11:21:40 +01:00
Referenced by issue #63325, Drivers freezing input value
|
@ -2067,6 +2067,7 @@ void DepsgraphRelationBuilder::build_camera(Camera *camera)
|
|||
if (built_map_.checkIsBuiltAndTag(camera)) {
|
||||
return;
|
||||
}
|
||||
build_animdata(&camera->id);
|
||||
build_parameters(&camera->id);
|
||||
if (camera->dof_ob != NULL) {
|
||||
ComponentKey camera_parameters_key(&camera->id, NodeType::PARAMETERS);
|
||||
|
@ -2081,6 +2082,7 @@ void DepsgraphRelationBuilder::build_light(Light *lamp)
|
|||
if (built_map_.checkIsBuiltAndTag(lamp)) {
|
||||
return;
|
||||
}
|
||||
build_animdata(&lamp->id);
|
||||
build_parameters(&lamp->id);
|
||||
/* light's nodetree */
|
||||
if (lamp->nodetree != NULL) {
|
||||
|
|
Loading…
Reference in New Issue