Blender Git Loki

Git Commits -> Revision f8554ed

Revision f8554ed by Tamito Kajiyama (master)
May 16, 2014, 23:51 (GMT)
Fix T39669: Freestyle: Curve with extrude>0 causes warnings in console.

The reported Freestyle warnings were due to wrong normals of filled faces at both ends
of a 2D extruded curve. The problem is detailed in the comment #19 of T39669.

The cause of the bug 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.

This commit also fixes a related bug that the normals of filled faces were not inverted
when a scale of the curve object is set to a negative value (e.g., the Z scale was -1).

Reviewers: campbellbarton

Reviewed By: campbellbarton

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

Commit Details:

Full Hash: f8554ed61a427e0407c7e6ad951ef6985a19df95
Parent Commit: 2e20c16
Lines Changed: +7, -3

1 Modified Path:

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