diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 897e7835fdd..1175eb13766 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -1516,7 +1516,6 @@ void EditorPropertyEasing::_drag_easing(const Ref &p_ev) { val = CLAMP(val, -1'000'000, 1'000'000); emit_changed(get_edited_property(), val); - easing_draw->queue_redraw(); } } @@ -1568,6 +1567,9 @@ void EditorPropertyEasing::_draw_easing() { } void EditorPropertyEasing::update_property() { + float val = get_edited_property_value(); + spin->set_value_no_signal(val); + easing_draw->queue_redraw(); } @@ -1575,7 +1577,6 @@ void EditorPropertyEasing::_set_preset(int p_preset) { static const float preset_value[EASING_MAX] = { 0.0, 1.0, 2.0, 0.5, -2.0, -0.5 }; emit_changed(get_edited_property(), preset_value[p_preset]); - easing_draw->queue_redraw(); } void EditorPropertyEasing::_setup_spin() {