You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user