Page MenuHome

Fix T59915: Skin modifier produces inverted normals on end-cap faces when vertically aligned edge is assigned root
Needs ReviewPublic

Authored by Sebastian Parborg (zeddb) on Dec 28 2018, 8:41 PM.



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.

Diff Detail