diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-07 08:59:37 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-07 08:59:37 +0200 |
commit | c1150428c6476074f1a2daf3effb89f84bad57ce (patch) | |
tree | 9f2a087a9a895878fd621faa137c2a8fb6c3f26a /modules | |
parent | 80dacac90c57db91d30e58dadf688e1eaa10ab97 (diff) | |
parent | 1459507ed28d68e0066ee2631c0b3671c1c76faa (diff) |
Merge pull request #65449 from YuriSizov/editor-main-control-screen-container-node
Rename `EditorInterface.get_editor_main_control` to `get_editor_main_screen`
Diffstat (limited to 'modules')
-rw-r--r-- | modules/navigation/editor/navigation_mesh_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/navigation/editor/navigation_mesh_editor_plugin.cpp b/modules/navigation/editor/navigation_mesh_editor_plugin.cpp index 5cdff7b52a..32abc52017 100644 --- a/modules/navigation/editor/navigation_mesh_editor_plugin.cpp +++ b/modules/navigation/editor/navigation_mesh_editor_plugin.cpp @@ -145,7 +145,7 @@ void NavigationMeshEditorPlugin::make_visible(bool p_visible) { NavigationMeshEditorPlugin::NavigationMeshEditorPlugin() { navigation_mesh_editor = memnew(NavigationMeshEditor); - EditorNode::get_singleton()->get_main_control()->add_child(navigation_mesh_editor); + EditorNode::get_singleton()->get_main_screen_control()->add_child(navigation_mesh_editor); add_control_to_container(CONTAINER_SPATIAL_EDITOR_MENU, navigation_mesh_editor->bake_hbox); navigation_mesh_editor->hide(); navigation_mesh_editor->bake_hbox->hide(); |