summaryrefslogtreecommitdiffstats
path: root/editor/plugins/cpu_particles_3d_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/cpu_particles_3d_editor_plugin.cpp
parent432c4c40a9d29c127a5957944ca8f805dfb836ce (diff)
downloadredot-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.cpp2
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();
}