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/cpu_particles_3d_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/cpu_particles_3d_editor_plugin.cpp')
-rw-r--r-- | editor/plugins/cpu_particles_3d_editor_plugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/cpu_particles_3d_editor_plugin.cpp b/editor/plugins/cpu_particles_3d_editor_plugin.cpp index 775c2dbb2a..ad12b8bef0 100644 --- a/editor/plugins/cpu_particles_3d_editor_plugin.cpp +++ b/editor/plugins/cpu_particles_3d_editor_plugin.cpp @@ -126,7 +126,7 @@ void CPUParticles3DEditorPlugin::make_visible(bool p_visible) { CPUParticles3DEditorPlugin::CPUParticles3DEditorPlugin() { particles_editor = memnew(CPUParticles3DEditor); - EditorNode::get_singleton()->get_main_control()->add_child(particles_editor); + EditorNode::get_singleton()->get_main_screen_control()->add_child(particles_editor); particles_editor->hide(); } |