mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-01-30 15:42:42 +08:00
make IK always move in global space
This commit is contained in:
parent
912491b7ca
commit
c95f51e647
@ -911,6 +911,8 @@
|
||||
Group.selected.mesh.getWorldPosition(this.position);
|
||||
if (Toolbox.selected.id == 'resize_tool') {
|
||||
Transformer.rotation_ref = Group.selected.mesh;
|
||||
} else if (Toolbox.selected.id == 'move_tool' && Group.selected.ik_enabled && Group.selected.ik_chain_length) {
|
||||
delete Transformer.rotation_ref;
|
||||
} else {
|
||||
Transformer.rotation_ref = Group.selected.mesh.parent;
|
||||
}
|
||||
@ -1360,8 +1362,6 @@
|
||||
var keyframe = scope.keyframes[i];
|
||||
if (keyframe) {
|
||||
|
||||
var bone = copy_bone.original;
|
||||
|
||||
let euler = new THREE.Euler()
|
||||
let q = new THREE.Quaternion()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user