diff options
| author | Yuri Sizov <yuris@humnom.net> | 2022-09-07 02:30:54 +0300 |
|---|---|---|
| committer | Yuri Sizov <yuris@humnom.net> | 2022-09-07 03:01:58 +0300 |
| commit | 1459507ed28d68e0066ee2631c0b3671c1c76faa (patch) | |
| tree | 4bfcd1d91582dd943a158ffec5b986b158207ee6 /editor/plugins/script_editor_plugin.cpp | |
| parent | 432c4c40a9d29c127a5957944ca8f805dfb836ce (diff) | |
| download | redot-engine-1459507ed28d68e0066ee2631c0b3671c1c76faa.tar.gz | |
Rename EditorInterface.get_editor_main_control to get_editor_main_screen
Diffstat (limited to 'editor/plugins/script_editor_plugin.cpp')
| -rw-r--r-- | editor/plugins/script_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/script_editor_plugin.cpp b/editor/plugins/script_editor_plugin.cpp index ad114e022f..2e11652c59 100644 --- a/editor/plugins/script_editor_plugin.cpp +++ b/editor/plugins/script_editor_plugin.cpp @@ -4049,7 +4049,7 @@ void ScriptEditorPlugin::edited_scene_changed() { ScriptEditorPlugin::ScriptEditorPlugin() { script_editor = memnew(ScriptEditor); - EditorNode::get_singleton()->get_main_control()->add_child(script_editor); + EditorNode::get_singleton()->get_main_screen_control()->add_child(script_editor); script_editor->set_v_size_flags(Control::SIZE_EXPAND_FILL); script_editor->hide(); |
