Merge pull request #96411 from larspet/uv-editor-error

Fix Polygon2D UV editor error when opening grid settings
This commit is contained in:
Rémi Verschelde 2024-09-02 12:13:46 +02:00
commit 1474bd7401
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1482,7 +1482,7 @@ Polygon2DEditor::Polygon2DEditor() {
grid_settings = memnew(AcceptDialog);
grid_settings->set_title(TTR("Configure Grid:"));
add_child(grid_settings);
uv_edit->add_child(grid_settings);
VBoxContainer *grid_settings_vb = memnew(VBoxContainer);
grid_settings->add_child(grid_settings_vb);