Skip to content
Snippets Groups Projects
Commit 65f81868 authored by Alexis Girault's avatar Alexis Girault
Browse files

BUG: Fix #122 black analytic objects

Fix regression introduced in !121 with the use of the fast normals filter
`vtkTriangleMeshPointNormals`. That filter was also applied for surface
meshes with non-triangular cells: cells, sphere, capsule, cube (quads and
not triangles).

Since the issue of non-triangular meshes comes from analytic mesh sources,
the output surface meshes will always be rigid, so their normals will stay
constant and won't need to be recomputed. We can therefore use the filter
`vtkPolyDataNormals`, which is slower but will only need to be called once
of no deformation occurs.
parent 0b4868ae
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment