mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Fix groups with export=false still exporting in bedrock format
This commit is contained in:
parent
d974446e59
commit
ea483abf23
@ -779,7 +779,7 @@ function calculateVisibleBox() {
|
||||
return template;
|
||||
}
|
||||
function compileGroup(g) {
|
||||
if (g.type !== 'group') return;
|
||||
if (g.type !== 'group' || g.export == false) return;
|
||||
if (!settings.export_empty_groups.value && !g.children.find(child => child.export)) return;
|
||||
//Bone
|
||||
var bone = {}
|
||||
|
@ -164,7 +164,7 @@ var codec = new Codec('bedrock_old', {
|
||||
}
|
||||
|
||||
groups.forEach(function(g) {
|
||||
if (g.type !== 'group') return;
|
||||
if (g.type !== 'group' || g.export == false) return;
|
||||
if (!settings.export_empty_groups.value && !g.children.find(child => child.export)) return;
|
||||
//Bone
|
||||
var bone = {}
|
||||
|
@ -270,7 +270,6 @@ const UVEditor = {
|
||||
addEventListeners(document, 'mousedown touchstart', clickElsewhere)
|
||||
},
|
||||
removePastingOverlay() {
|
||||
console.trace('RM')
|
||||
Painter.selection.overlay.detach();
|
||||
UVEditor.vue.copy_overlay.state = 'off';
|
||||
delete Painter.selection.overlay;
|
||||
|
Loading…
Reference in New Issue
Block a user