mirror of
https://github.com/JannisX11/blockbench.git
synced 2025-02-11 16:12:06 +08:00
Fix outliner toggle not updating UV
This commit is contained in:
parent
235f5c572f
commit
987499cbb8
@ -1065,12 +1065,11 @@ Interface.definePanels(function() {
|
||||
if (node[key] != undefined) new_affected.safePush(el);
|
||||
})
|
||||
}
|
||||
console.log(selected.length, affected.length, node.selected)
|
||||
new_affected.forEach(node => {
|
||||
affected.push(node);
|
||||
previous_values[node.uuid] = node[key];
|
||||
node[key] = value;
|
||||
if (key == 'autouv' && node instanceof Cube) Canvas.updateUV(node);
|
||||
if (key == 'shade' && node instanceof Cube) Canvas.updateUV(node);
|
||||
})
|
||||
// Update
|
||||
if (key == 'visibility') Canvas.updateVisibility();
|
||||
|
Loading…
Reference in New Issue
Block a user