Fix: Assert calculating mesh triangulation
The condition from 0d7d8c73cf
was reversed.
This commit is contained in:
parent
12becbf0df
commit
2438f76d6f
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue