This patch is intended to fix wrong normals of filled faces at both ends of a 2D extruded curve. The problem is detailed in the comment #19 of T39669.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
This diff causes a simple extruded curve to flip in the viewport - when you enable backface culling.
Comment Actions
Another attempt to fix the bug. I believe this patch is going to be a proper fix: there was an inconsistency in the use of vertex indices between BKE_mesh_nurbs_displist_to_mdata() and init_render_curve() in the case of DispList::type equal to DL_INDEX3.