|
@@ -31,6 +31,7 @@
|
|
|
#include "cpu_particles_3d_editor_plugin.h"
|
|
|
|
|
|
#include "editor/editor_node.h"
|
|
|
+#include "editor/editor_settings.h"
|
|
|
#include "editor/editor_undo_redo_manager.h"
|
|
|
#include "editor/gui/scene_tree_editor.h"
|
|
|
#include "editor/plugins/node_3d_editor_plugin.h"
|
|
@@ -168,7 +169,7 @@ CPUParticles3DEditor::CPUParticles3DEditor() {
|
|
|
particles_editor_hb->hide();
|
|
|
|
|
|
options->set_text(TTR("CPUParticles3D"));
|
|
|
- options->get_popup()->add_item(TTR("Restart"), MENU_OPTION_RESTART);
|
|
|
+ options->get_popup()->add_shortcut(ED_GET_SHORTCUT("particles/restart_emission"), MENU_OPTION_RESTART);
|
|
|
options->get_popup()->add_item(TTR("Generate AABB"), MENU_OPTION_GENERATE_AABB);
|
|
|
options->get_popup()->add_item(TTR("Create Emission Points From Node"), MENU_OPTION_CREATE_EMISSION_VOLUME_FROM_NODE);
|
|
|
options->get_popup()->add_item(TTR("Convert to GPUParticles3D"), MENU_OPTION_CONVERT_TO_GPU_PARTICLES);
|