Improvements to editing empty bones

This commit is contained in:
JannisX11 2020-10-22 22:08:12 +02:00
parent e08a2e9e26
commit 4c1dfc20ed
2 changed files with 2 additions and 1 deletions

View File

@ -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) {

View File

@ -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()