Unverified Commit 68f224a5 by Rémi Verschelde Committed by GitHub

Merge pull request #21847 from Calinou/light-gizmo-update-inspector

Update Light properties in the inspector when dragging their gizmos
parents bcc50de2 3f87f9b7
......@@ -48,6 +48,13 @@ void Light::set_param(Param p_param, float p_value) {
if (p_param == PARAM_SPOT_ANGLE || p_param == PARAM_RANGE) {
update_gizmo();
if (p_param == PARAM_SPOT_ANGLE) {
_change_notify("spot_angle");
} else if (p_param == PARAM_RANGE) {
_change_notify("omni_range");
_change_notify("spot_range");
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment