Skip to content

Commit

Permalink
Merge pull request godotengine#64050 from pulawskig/master
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Aug 8, 2022
2 parents 01ce034 + ba58491 commit 335b51b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion editor/plugins/abstract_polygon_2d_editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 335b51b

Please sign in to comment.