summaryrefslogtreecommitdiff
path: root/editor/plugins/multimesh_editor_plugin.cpp
diff options
context:
space:
mode:
authorYuri Sizov <yuris@humnom.net>2022-09-07 02:30:54 +0300
committerYuri Sizov <yuris@humnom.net>2022-09-07 03:01:58 +0300
commit1459507ed28d68e0066ee2631c0b3671c1c76faa (patch)
tree4bfcd1d91582dd943a158ffec5b986b158207ee6 /editor/plugins/multimesh_editor_plugin.cpp
parent432c4c40a9d29c127a5957944ca8f805dfb836ce (diff)
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
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 fc4dc5bc2f..b0e206b020 100644
--- a/editor/plugins/multimesh_editor_plugin.cpp
+++ b/editor/plugins/multimesh_editor_plugin.cpp
@@ -379,7 +379,7 @@ void MultiMeshEditorPlugin::make_visible(bool p_visible) {
MultiMeshEditorPlugin::MultiMeshEditorPlugin() {
multimesh_editor = memnew(MultiMeshEditor);
- EditorNode::get_singleton()->get_main_control()->add_child(multimesh_editor);
+ EditorNode::get_singleton()->get_main_screen_control()->add_child(multimesh_editor);
multimesh_editor->options->hide();
}