mirror of
https://github.com/godotengine/godot.git
synced 2024-11-26 06:03:38 +00:00
Merge pull request #46955 from mujpao/polygon2d-update-viewport
Update viewport after Polygon2D deselected
This commit is contained in:
commit
c4f32bced9
@ -585,11 +585,11 @@ void AbstractPolygon2DEditor::edit(Node *p_polygon) {
|
||||
edited_point = PosVertex();
|
||||
hover_point = Vertex();
|
||||
selected_point = Vertex();
|
||||
|
||||
canvas_item_editor->update_viewport();
|
||||
} else {
|
||||
_set_node(nullptr);
|
||||
}
|
||||
|
||||
canvas_item_editor->update_viewport();
|
||||
}
|
||||
|
||||
void AbstractPolygon2DEditor::_bind_methods() {
|
||||
|
Loading…
Reference in New Issue
Block a user