Fix issue with mirroring groups
This commit is contained in:
parent
c429e9af29
commit
66f37e39f2
@ -860,9 +860,7 @@
|
||||
return;
|
||||
}
|
||||
this.rotation_object = rotation_object;
|
||||
if (_has_groups && Format.bone_rig && !Modes.animate) {
|
||||
Canvas.updateAllBones()
|
||||
}
|
||||
|
||||
//Center
|
||||
if (Toolbox.selected.id === 'rotate_tool' || Toolbox.selected.id === 'pivot_tool') {
|
||||
rotation_object.mesh.getWorldPosition(this.position)
|
||||
|
@ -177,6 +177,7 @@ function mirrorSelected(axis) {
|
||||
group.name = group.name.replace(/left/g, 'right').replace(/2/, '');
|
||||
}
|
||||
}
|
||||
Canvas.updateAllBones([group]);
|
||||
}
|
||||
flipGroup(Group.selected)
|
||||
Group.selected.forEachChild(flipGroup)
|
||||
@ -1307,7 +1308,7 @@ BARS.defineActions(function() {
|
||||
color: 'x',
|
||||
category: 'transform',
|
||||
click: function () {
|
||||
mirrorSelected(0);
|
||||
mirrorSelected(0);
|
||||
}
|
||||
})
|
||||
new Action('flip_y', {
|
||||
|
Loading…
x
Reference in New Issue
Block a user