You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Fix undo action names for node replacement
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user