summaryrefslogtreecommitdiffstats
path: root/editor/plugins/multimesh_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2024-09-11 12:34:46 +0200
committerRémi Verschelde <rverschelde@gmail.com>2024-09-11 12:34:46 +0200
commitb6906b96774ded20275da3d37847ffbd19804c68 (patch)
treeffb7e20e7679894cb5f4e8c346742542142611e2 /editor/plugins/multimesh_editor_plugin.cpp
parentd4b1d51dc1e6c60db9f8c7f34f9d3aad7755ce1d (diff)
parent5e1c9d68aad00ad025a14f4a1907b92a6f7f6310 (diff)
downloadredot-engine-b6906b96774ded20275da3d37847ffbd19804c68.tar.gz
Merge pull request #96389 from kitbdev/extract-main-screen
Extract EditorMainScreen from EditorNode
Diffstat (limited to 'editor/plugins/multimesh_editor_plugin.cpp')
-rw-r--r--editor/plugins/multimesh_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/multimesh_editor_plugin.cpp b/editor/plugins/multimesh_editor_plugin.cpp
index 76ffdb02e1..729ceccd25 100644
--- a/editor/plugins/multimesh_editor_plugin.cpp
+++ b/editor/plugins/multimesh_editor_plugin.cpp
@@ -384,7 +384,7 @@ void MultiMeshEditorPlugin::make_visible(bool p_visible) {
MultiMeshEditorPlugin::MultiMeshEditorPlugin() {
multimesh_editor = memnew(MultiMeshEditor);
- EditorNode::get_singleton()->get_main_screen_control()->add_child(multimesh_editor);
+ EditorNode::get_singleton()->get_gui_base()->add_child(multimesh_editor);
multimesh_editor->options->hide();
}