summaryrefslogtreecommitdiff
path: root/editor/plugins/particles_2d_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-05-31 10:05:09 +0200
committerGitHub <noreply@github.com>2019-05-31 10:05:09 +0200
commitca6a2669df43b73fe3f017d4b643cdf22a9dcdb9 (patch)
tree3546b4b05944ec480e66d29dc860216ba582bd59 /editor/plugins/particles_2d_editor_plugin.cpp
parent6b27b7d11304eca4d76c616792215c66d5d5d70e (diff)
parent1141ab8b25a836278f244f4270163271395d475c (diff)
Merge pull request #29328 from KoBeWi/undo_cpuparticles_too
Allow undo of conversion to CPUParticles
Diffstat (limited to 'editor/plugins/particles_2d_editor_plugin.cpp')
-rw-r--r--editor/plugins/particles_2d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/particles_2d_editor_plugin.cpp b/editor/plugins/particles_2d_editor_plugin.cpp
index 4c354b8002..6fabdc93c6 100644
--- a/editor/plugins/particles_2d_editor_plugin.cpp
+++ b/editor/plugins/particles_2d_editor_plugin.cpp
@@ -94,7 +94,7 @@ void Particles2DEditorPlugin::_menu_callback(int p_idx) {
cpu_particles->set_z_index(particles->get_z_index());
UndoRedo *ur = EditorNode::get_singleton()->get_undo_redo();
- ur->create_action(TTR("Convert from Particles2D"));
+ ur->create_action(TTR("Convert to CPUParticles"));
ur->add_do_method(EditorNode::get_singleton()->get_scene_tree_dock(), "replace_node", particles, cpu_particles, true, false);
ur->add_do_reference(particles);
ur->add_undo_method(EditorNode::get_singleton()->get_scene_tree_dock(), "replace_node", cpu_particles, particles, false, false);