mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Fix #2291 Move tool gizmo misaligned on empty group
This commit is contained in:
parent
60c1f4ecc0
commit
5fbbcb243b
@ -823,7 +823,7 @@
|
|||||||
|
|
||||||
this.getTransformSpace = function() {
|
this.getTransformSpace = function() {
|
||||||
var rotation_tool = Toolbox.selected.id === 'rotate_tool' || Toolbox.selected.id === 'pivot_tool'
|
var rotation_tool = Toolbox.selected.id === 'rotate_tool' || Toolbox.selected.id === 'pivot_tool'
|
||||||
if (!selected.length && (!Group.selected || !rotation_tool || !Format.bone_rig)) return;
|
if (!selected.length && (!Group.selected || !Format.bone_rig)) return;
|
||||||
|
|
||||||
let input_space;
|
let input_space;
|
||||||
switch (Toolbox.selected.id) {
|
switch (Toolbox.selected.id) {
|
||||||
|
Loading…
Reference in New Issue
Block a user