mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 17:11:30 +00:00
Fix undo action names for node replacement
This commit is contained in:
parent
f2045ba822
commit
c1cce6bb69
5 changed files with 6 additions and 6 deletions
|
|
@ -115,7 +115,7 @@ void GPUParticles2DEditorPlugin::_menu_callback(int p_idx) {
|
|||
cpu_particles->set_z_index(particles->get_z_index());
|
||||
|
||||
EditorUndoRedoManager *ur = EditorUndoRedoManager::get_singleton();
|
||||
ur->create_action(TTR("Convert to CPUParticles2D"));
|
||||
ur->create_action(TTR("Convert to CPUParticles2D"), UndoRedo::MERGE_DISABLE, particles);
|
||||
SceneTreeDock::get_singleton()->replace_node(particles, cpu_particles);
|
||||
ur->commit_action(false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue