Fix: Assert calculating mesh triangulation

The condition from 0d7d8c73cf was reversed.
This commit is contained in:
Hans Goudey 2022-09-23 10:44:55 -05:00
parent 12becbf0df
commit 2438f76d6f
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ void BKE_mesh_runtime_looptri_recalc(Mesh *mesh)
const Span<MPoly> polys = mesh->polys();
const Span<MLoop> loops = mesh->loops();
if (BKE_mesh_poly_normals_are_dirty(mesh)) {
if (!BKE_mesh_poly_normals_are_dirty(mesh)) {
BKE_mesh_recalc_looptri_with_normals(loops.data(),
polys.data(),
verts.data(),