diff options
author | Hans Goudey <h.goudey@me.com> | 2022-09-23 18:44:55 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-09-23 18:45:07 +0300 |
commit | 2438f76d6f289b237aac582405a0adeb10009ea1 (patch) | |
tree | 0ccdcc0966fe1a3dba5c13e17f58f7f9e8533abf /source/blender/blenkernel/intern/mesh_runtime.cc | |
parent | 12becbf0dffe06b6f28c4cc444fe0312cf9249b9 (diff) |
Fix: Assert calculating mesh triangulation
The condition from 0d7d8c73cf5c5c5f05c was reversed.
Diffstat (limited to 'source/blender/blenkernel/intern/mesh_runtime.cc')
-rw-r--r-- | source/blender/blenkernel/intern/mesh_runtime.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/mesh_runtime.cc b/source/blender/blenkernel/intern/mesh_runtime.cc index d7a0b73298e..782657428f5 100644 --- a/source/blender/blenkernel/intern/mesh_runtime.cc +++ b/source/blender/blenkernel/intern/mesh_runtime.cc @@ -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(), |