diff options
author | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-12-12 16:16:35 +0300 |
---|---|---|
committer | Tamito Kajiyama <rd6t-kjym@asahi-net.or.jp> | 2010-12-12 16:16:35 +0300 |
commit | 31897978338936c6d6149e0a64d93a52a30132bc (patch) | |
tree | 71a883597f797b83ecb0bc3995a9d90967080f60 /source/blender/freestyle/FRS_freestyle.h | |
parent | 643b73e60ee51aa9f342f246c3e340eefe017516 (diff) |
Fix for incorrect vertex normals in the case of smooth faces with
the R_TRANSFORMED flag enabled. Now vertex normals are properly
transformed by ObjectInstanceRen::nmat[3][3] and normalized. It is
noted that in the case of R_TRANSFORMED flat faces, surface normals
are transformed and normalized by RE_vlakren_get_normal().
The bug was reported by Stéphane Grabli via personal communication.
Thank you Stéphane for the careful code review!
Diffstat (limited to 'source/blender/freestyle/FRS_freestyle.h')
0 files changed, 0 insertions, 0 deletions