mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-21 01:13:37 +08:00
Improvements to editing empty bones
This commit is contained in:
parent
e08a2e9e26
commit
4c1dfc20ed
@ -169,6 +169,7 @@ function updateSelection() {
|
||||
if (Format.bone_rig && Group.selected) {
|
||||
$('.selection_only').css('visibility', 'hidden')
|
||||
$('.selection_only#element').css('visibility', 'visible')
|
||||
$('.selection_only#bone').css('visibility', 'visible')
|
||||
} else {
|
||||
$('.selection_only').css('visibility', 'hidden')
|
||||
if (Locator.selected.length) {
|
||||
|
@ -769,7 +769,7 @@
|
||||
display_gui_rotation.updateMatrixWorld();
|
||||
|
||||
this.getTransformSpace = function() {
|
||||
if (!selected.length) return;
|
||||
if (!selected.length && (!Group.selected || Toolbox.selected.id !== 'pivot_tool' || !Format.bone_rig)) return;
|
||||
|
||||
let input_space = Toolbox.selected == BarItems.rotate_tool ? BarItems.rotation_space.get() : BarItems.transform_space.get()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user