Browse Source

Merge pull request #109777 from vaner-org/blendspace-drag-release-fix

Fix incorrect `blend_position` values in BlendSpace editor after dragging point
Thaddeus Crews 1 week ago
parent
commit
61c6a82921

+ 0 - 1
editor/animation/animation_blend_space_1d_editor.cpp

@@ -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->commit_action();
 				updating = false;
-				_update_edited_point_pos();
 			}
 
 			dragging_selected_attempt = false;

+ 0 - 1
editor/animation/animation_blend_space_2d_editor.cpp

@@ -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->commit_action();
 				updating = false;
-				_update_edited_point_pos();
 			}
 		}
 		dragging_selected_attempt = false;