mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 23:31:53 -05:00
Merge pull request #109777 from vaner-org/blendspace-drag-release-fix
Fix incorrect `blend_position` values in BlendSpace editor after dragging point
This commit is contained in:
@@ -167,7 +167,6 @@ void AnimationNodeBlendSpace1DEditor::_blend_space_gui_input(const Ref<InputEven
|
|||||||
undo_redo->add_undo_method(this, "_update_edited_point_pos");
|
undo_redo->add_undo_method(this, "_update_edited_point_pos");
|
||||||
undo_redo->commit_action();
|
undo_redo->commit_action();
|
||||||
updating = false;
|
updating = false;
|
||||||
_update_edited_point_pos();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dragging_selected_attempt = false;
|
dragging_selected_attempt = false;
|
||||||
|
|||||||
@@ -262,7 +262,6 @@ void AnimationNodeBlendSpace2DEditor::_blend_space_gui_input(const Ref<InputEven
|
|||||||
undo_redo->add_undo_method(this, "_update_edited_point_pos");
|
undo_redo->add_undo_method(this, "_update_edited_point_pos");
|
||||||
undo_redo->commit_action();
|
undo_redo->commit_action();
|
||||||
updating = false;
|
updating = false;
|
||||||
_update_edited_point_pos();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
dragging_selected_attempt = false;
|
dragging_selected_attempt = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user