Cleanup: Mesh: Access looptris with Span

Similar to cb62ab5b28 but for mesh triangulation.

Pull Request #105297
This commit is contained in:
2023-02-28 14:52:31 +01:00
committed by Hans Goudey
parent 3c94e2ab4c
commit eb68334b58
22 changed files with 245 additions and 292 deletions

View File

@@ -597,7 +597,6 @@ bool RE_bake_pixels_populate_from_objects(Mesh *me_low,
tris_high[i] = mesh_calc_tri_tessface(highpoly[i].me, false, nullptr);
me_highpoly[i] = highpoly[i].me;
BKE_mesh_runtime_looptri_ensure(me_highpoly[i]);
if (BKE_mesh_runtime_looptri_len(me_highpoly[i]) != 0) {
/* Create a BVH-tree for each `highpoly` object. */