diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-02 12:13:46 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-09-02 12:13:46 +0200 |
commit | 1474bd7401ada80528c7ec560cd32db92303e5fb (patch) | |
tree | aaad7a9afb9b26e0c379f4936889a4fa7ee99bcb | |
parent | 04f197719962deb4359f9bef980a94e0bd99b0ea (diff) | |
parent | 5a0a0257e17d8cf678e9de357ecab6ab8d2093de (diff) | |
download | redot-engine-1474bd7401ada80528c7ec560cd32db92303e5fb.tar.gz |
Merge pull request #96411 from larspet/uv-editor-error
Fix Polygon2D UV editor error when opening grid settings
-rw-r--r-- | editor/plugins/polygon_2d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/polygon_2d_editor_plugin.cpp b/editor/plugins/polygon_2d_editor_plugin.cpp index 496323aa2a..b8a309bc60 100644 --- a/editor/plugins/polygon_2d_editor_plugin.cpp +++ b/editor/plugins/polygon_2d_editor_plugin.cpp @@ -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); |