2
0
Fork 0

Update viewport after Polygon2D deselected

(cherry picked from commit 030703dd30)
3.3
mujpao 2021-03-12 17:22:46 +07:00 committed by Rémi Verschelde
parent 10c8438178
commit f2739b3f52
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 2 additions and 2 deletions

@ -686,12 +686,12 @@ void AbstractPolygon2DEditor::edit(Node *p_polygon) {
edited_point = PosVertex();
hover_point = Vertex();
selected_point = Vertex();
canvas_item_editor->update_viewport();
} else {
_set_node(NULL);
}
canvas_item_editor->update_viewport();
}
void AbstractPolygon2DEditor::_bind_methods() {