Update viewport after Polygon2D deselected
This commit is contained in:
parent
bf309b8a13
commit
030703dd30
1 changed files with 2 additions and 2 deletions
|
@ -585,11 +585,11 @@ void AbstractPolygon2DEditor::edit(Node *p_polygon) {
|
||||||
edited_point = PosVertex();
|
edited_point = PosVertex();
|
||||||
hover_point = Vertex();
|
hover_point = Vertex();
|
||||||
selected_point = Vertex();
|
selected_point = Vertex();
|
||||||
|
|
||||||
canvas_item_editor->update_viewport();
|
|
||||||
} else {
|
} else {
|
||||||
_set_node(nullptr);
|
_set_node(nullptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
canvas_item_editor->update_viewport();
|
||||||
}
|
}
|
||||||
|
|
||||||
void AbstractPolygon2DEditor::_bind_methods() {
|
void AbstractPolygon2DEditor::_bind_methods() {
|
||||||
|
|
Loading…
Reference in a new issue