summaryrefslogtreecommitdiffstats
path: root/editor/plugins/gpu_particles_3d_editor_plugin.cpp
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2024-03-03 19:09:25 +0100
committerkobewi <kobewi4e@gmail.com>2024-03-03 19:09:25 +0100
commitc1cce6bb69320cb91c98445f35e6c807390b966a (patch)
tree0de95f143b28acc2a20b1865efa662fbd362c5d7 /editor/plugins/gpu_particles_3d_editor_plugin.cpp
parentf2045ba822bff7d34964901393581a3117c394a9 (diff)
downloadredot-engine-c1cce6bb69320cb91c98445f35e6c807390b966a.tar.gz
Fix undo action names for node replacement
Diffstat (limited to 'editor/plugins/gpu_particles_3d_editor_plugin.cpp')
-rw-r--r--editor/plugins/gpu_particles_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/gpu_particles_3d_editor_plugin.cpp b/editor/plugins/gpu_particles_3d_editor_plugin.cpp
index 88c9df7103..04b0a8aa26 100644
--- a/editor/plugins/gpu_particles_3d_editor_plugin.cpp
+++ b/editor/plugins/gpu_particles_3d_editor_plugin.cpp
@@ -279,7 +279,7 @@ void GPUParticles3DEditor::_menu_option(int p_option) {
cpu_particles->set_process_mode(node->get_process_mode());
EditorUndoRedoManager *ur = EditorUndoRedoManager::get_singleton();
- ur->create_action(TTR("Convert to CPUParticles3D"));
+ ur->create_action(TTR("Convert to CPUParticles3D"), UndoRedo::MERGE_DISABLE, node);
SceneTreeDock::get_singleton()->replace_node(node, cpu_particles);
ur->commit_action(false);