Blender Git Commit Log
Git Commits -> Revision 4b81012
Revision 4b81012 by Bastien Montagne (master) May 19, 2016, 12:44 (GMT) |
Dynapaint: fix use of normal normalization in dynamicPaint_generateBakeData(). Vertex's normal is always normalized - and its conversion from short to float should not change that! On the other hand, linear interpolation of three normals **does not give a normalized vector** (unless all three inputs are exactly the same). Also, minor optimization, avoid recomputing that interpolated normal twice for each PaintUVPoint. |
Commit Details:
Full Hash: 4b810127ba0de75e9e81b3b6019c86da73f8c63b
Parent Commit: c9f1ed1
Lines Changed: +27, -37
1 Modified Path:
/source/blender/blenkernel/intern/dynamicpaint.c (+27, -37) (Diff)