diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2021-12-02 00:17:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-02 00:17:47 +0100 |
commit | 3b9de26fec42ba99153717f89afd849f77a60a89 (patch) | |
tree | d106a051bc97030bf856f876c07a370a512419fc /editor | |
parent | 213ee89ae8424ea9a203312472866ccc76c2e511 (diff) | |
parent | 129911f61af35fa2aed03349368f7e94772b682e (diff) |
Merge pull request #53868 from aaronfranke/curve
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/curve_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/curve_editor_plugin.cpp b/editor/plugins/curve_editor_plugin.cpp index daf34903e6..d99d6709ad 100644 --- a/editor/plugins/curve_editor_plugin.cpp +++ b/editor/plugins/curve_editor_plugin.cpp @@ -460,7 +460,7 @@ void CurveEditor::remove_point(int index) { Curve::Point p = _curve_ref->get_point(index); ur.add_do_method(*_curve_ref, "remove_point", index); - ur.add_undo_method(*_curve_ref, "add_point", p.pos, p.left_tangent, p.right_tangent, p.left_mode, p.right_mode); + ur.add_undo_method(*_curve_ref, "add_point", p.position, p.left_tangent, p.right_tangent, p.left_mode, p.right_mode); if (index == _selected_point) { set_selected_point(-1); |