diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-08 09:00:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-08 09:00:13 +0200 |
commit | 335b51be70e5b45ad14c6931435cb2c24717f0e6 (patch) | |
tree | 2929473a77aedbc888dd50ac07749bbd074597fd /editor | |
parent | 01ce034398a870c83b367827eb1a0e28b2512b4f (diff) | |
parent | ba58491ca724bd660257bf4c5a3d76d70a15ad3e (diff) |
Merge pull request #64050 from pulawskig/master
Diffstat (limited to 'editor')
-rw-r--r-- | editor/plugins/abstract_polygon_2d_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/abstract_polygon_2d_editor.cpp b/editor/plugins/abstract_polygon_2d_editor.cpp index cb77cd78bf..a7d7c0145a 100644 --- a/editor/plugins/abstract_polygon_2d_editor.cpp +++ b/editor/plugins/abstract_polygon_2d_editor.cpp @@ -294,9 +294,9 @@ bool AbstractPolygon2DEditor::forward_gui_input(const Ref<InputEvent> &p_event) _commit_action(); return true; } else { - pre_move_edit = vertices; edited_point = PosVertex(insert.polygon, insert.vertex + 1, xform.affine_inverse().xform(insert.pos)); vertices.insert(edited_point.vertex, edited_point.pos); + pre_move_edit = vertices; selected_point = Vertex(edited_point.polygon, edited_point.vertex); edge_point = PosVertex(); |