Fix UV size warning when cube face is removed

This commit is contained in:
JannisX11 2024-09-23 00:09:29 +02:00
parent f4e1c2bbbb
commit 3d18b5cb17

View File

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