Merge pull request #57454 from rcorre/undo_skel
This commit is contained in:
commit
7d97f04da8
1 changed files with 1 additions and 1 deletions
|
@ -383,7 +383,7 @@ void Skeleton3DEditor::create_physical_skeleton() {
|
|||
if (!bones_infos[parent].physical_bone) {
|
||||
bones_infos.write[parent].physical_bone = create_physical_bone(parent, bone_id, bones_infos);
|
||||
|
||||
ur->create_action(TTR("Create physical bones"));
|
||||
ur->create_action(TTR("Create physical bones"), UndoRedo::MERGE_ALL);
|
||||
ur->add_do_method(skeleton, "add_child", bones_infos[parent].physical_bone);
|
||||
ur->add_do_reference(bones_infos[parent].physical_bone);
|
||||
ur->add_undo_method(skeleton, "remove_child", bones_infos[parent].physical_bone);
|
||||
|
|
Loading…
Add table
Reference in a new issue