소스 검색

Fix doubled transformation when mouse released

vaner-org 1 개월 전
부모
커밋
08d2d21a79
2개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 1
      editor/animation/animation_blend_space_1d_editor.cpp
  2. 0 1
      editor/animation/animation_blend_space_2d_editor.cpp

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