PolyData shading with vertex normals #6058
-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
This code may be the source of the bug. Vertex normals appear to be always computed when smooth shading is enabled. No checks are made for existing normals. pyvista/pyvista/plotting/_plotting.py Lines 77 to 90 in fdb7daf I think a solution here might look something like:
The second item may not be strictly necessary if normals are set as active by default by the file reader. |
Beta Was this translation helpful? Give feedback.
#6062 was merged and released with v0.43.8, see:
https://github.com/pyvista/pyvista/releases/tag/v0.43.8
Installing that version of pyvista or later should fix this issue.