diff options
author | kit <kitbdev@gmail.com> | 2024-08-19 18:08:31 -0400 |
---|---|---|
committer | kit <kitbdev@gmail.com> | 2024-09-09 11:06:18 -0400 |
commit | 5e1c9d68aad00ad025a14f4a1907b92a6f7f6310 (patch) | |
tree | 2772c83f7f4b89b5a422113726b3c0611d4f0b30 /editor/plugins/cpu_particles_3d_editor_plugin.cpp | |
parent | d0dc3896ad6fe039e4ad0607d901c81197cb3a3b (diff) | |
download | redot-engine-5e1c9d68aad00ad025a14f4a1907b92a6f7f6310.tar.gz |
Extract 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 69f287c134..e0ce330813 100644 --- a/editor/plugins/cpu_particles_3d_editor_plugin.cpp +++ b/editor/plugins/cpu_particles_3d_editor_plugin.cpp @@ -208,7 +208,7 @@ void CPUParticles3DEditorPlugin::make_visible(bool p_visible) { CPUParticles3DEditorPlugin::CPUParticles3DEditorPlugin() { particles_editor = memnew(CPUParticles3DEditor); - EditorNode::get_singleton()->get_main_screen_control()->add_child(particles_editor); + EditorNode::get_singleton()->get_gui_base()->add_child(particles_editor); particles_editor->hide(); } |