Fix mesh_chunk braces

This commit is contained in:
Elias Stepanik 2025-06-14 00:48:01 +02:00
parent 1b4f070015
commit 440fd4a717

View File

@ -419,7 +419,6 @@ pub(crate) fn mesh_chunk(
} }
} }
} }
}
// Greedy merge the mask into maximal rectangles. // Greedy merge the mask into maximal rectangles.
for u0 in 0..N { for u0 in 0..N {
@ -428,8 +427,6 @@ pub(crate) fn mesh_chunk(
continue; continue;
} }
let Some(tex_id) = mask[idx(u0, v0)] else { continue }; let Some(tex_id) = mask[idx(u0, v0)] else { continue };
continue;
}
// Determine the rectangle width. // Determine the rectangle width.
let mut width = 1; let mut width = 1;