mirror of
https://github.com/JannisX11/blockbench.git
synced 2024-11-27 04:21:46 +08:00
Fix UV size warning when cube face is removed
This commit is contained in:
parent
f4e1c2bbbb
commit
3d18b5cb17
@ -399,6 +399,7 @@ new ValidatorCheck('zero_wide_uv_faces', {
|
||||
};
|
||||
for (let fkey in cube.faces) {
|
||||
let face = cube.faces[fkey];
|
||||
if (face.texture === null) continue;
|
||||
let uv_size = face.uv_size;
|
||||
let size_issue;
|
||||
for (let i of [0, 1]) {
|
||||
|
Loading…
Reference in New Issue
Block a user