Blender Git Loki

Git Commits -> Revision c838487

Revision c838487 by Sebastian Parborg (master)
June 17, 2019, 14:35 (GMT)
Fix T59915: Skin modifier produces inverted normals on end-cap faces when vertically aligned edge is assigned root

Sometimes when the end caps pointed strait up (z axis) their faces would
become inverted.

It seems like the code tried to rely on a certain vertex order to always
happen. However this edge case did manage to produce an order that would
produce inverted cap faces. So now I introduce a normal check instead
so we can be certain that the face will have the normal direction we
want.

Reviewed By: Jacques Lucke

Differential Revision: https://developer.blender.org/D4138

Commit Details:

Full Hash: c83848722a5c99bebe8ee3b8f363f633e08c2960
Parent Commit: 80fb263
Lines Changed: +14, -7

1 Modified Path:

/source/blender/modifiers/intern/MOD_skin.c (+14, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021