summaryrefslogtreecommitdiff
path: root/editor/plugins/cpu_particles_editor_plugin.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-02-23 22:52:27 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-02-23 23:48:44 +0100
commit15e6a82faff0bf9a08def1e46f2e9a8c4e0ac3ea (patch)
tree6487a09bb31bed8cc54a420d0923912f1a252dbd /editor/plugins/cpu_particles_editor_plugin.cpp
parent220c8e834403006b2511e2af3c1b23942791f3e8 (diff)
Signals: Fix invalid connections to missing callbacks
These bugs existed since those lines were added, so I assume that their intended use is no longer relevant.
Diffstat (limited to 'editor/plugins/cpu_particles_editor_plugin.cpp')
-rw-r--r--editor/plugins/cpu_particles_editor_plugin.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/editor/plugins/cpu_particles_editor_plugin.cpp b/editor/plugins/cpu_particles_editor_plugin.cpp
index 8a73ae1e1f..3d438226d2 100644
--- a/editor/plugins/cpu_particles_editor_plugin.cpp
+++ b/editor/plugins/cpu_particles_editor_plugin.cpp
@@ -51,12 +51,6 @@ void CPUParticlesEditor::_menu_option(int p_option) {
switch (p_option) {
- case MENU_OPTION_CREATE_EMISSION_VOLUME_FROM_MESH: {
-
- emission_file_dialog->popup_centered_ratio();
-
- } break;
-
case MENU_OPTION_CREATE_EMISSION_VOLUME_FROM_NODE: {
emission_tree_dialog->popup_centered_ratio();
@@ -112,7 +106,6 @@ CPUParticlesEditor::CPUParticlesEditor() {
particles_editor_hb->hide();
options->set_text(TTR("CPUParticles"));
- options->get_popup()->add_item(TTR("Create Emission Points From Mesh"), MENU_OPTION_CREATE_EMISSION_VOLUME_FROM_MESH);
options->get_popup()->add_item(TTR("Create Emission Points From Node"), MENU_OPTION_CREATE_EMISSION_VOLUME_FROM_NODE);
options->get_popup()->add_separator();
options->get_popup()->add_item(TTR("Restart"), MENU_OPTION_RESTART);