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:
@@ -86,7 +86,7 @@ void CPUParticles2DEditorPlugin::_menu_callback(int p_idx) {
|
||||
gpu_particles->set_process_mode(particles->get_process_mode());
|
||||
|
||||
EditorUndoRedoManager *ur = EditorUndoRedoManager::get_singleton();
|
||||
ur->create_action(TTR("Convert to GPUParticles3D"));
|
||||
ur->create_action(TTR("Convert to GPUParticles3D"), UndoRedo::MERGE_DISABLE, particles);
|
||||
SceneTreeDock::get_singleton()->replace_node(particles, gpu_particles);
|
||||
ur->commit_action(false);
|
||||
} break;
|
||||
|
||||
Reference in New Issue
Block a user