Selaa lähdekoodia

Fix doubled transformation when mouse released

vaner-org 2 viikkoa sitten
vanhempi
commit
08d2d21a79

+ 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->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;

+ 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->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;