Blender Git Loki
Git Commits -> Revision 08528f5
Revision 08528f5 by Tamito Kajiyama (master) May 25, 2014, 10:47 (GMT) |
Freestyle: Partial fix for thinning strokes due to flipping stroke directions at TVertices. A description of the problem is found in https://developer.blender.org/T36425#19 . The cause of the issue was identified as roudning errors in Operators::createStroke() due to insufficient numerical precision. Precision promotion from float to double was done in the return values of getPoint3D/2D methods in Interface0D and its subclasses in C++ (data members stored in the 0D classes have already been in double precision). |
Commit Details:
Full Hash: 08528f577dcb47f570413ce600137f3729a35d94
Parent Commit: aef443a
Lines Changed: +33, -32
7 Modified Paths:
/source/blender/freestyle/intern/stroke/Curve.h (+3, -3) (Diff)
/source/blender/freestyle/intern/stroke/Operators.cpp (+14, -13) (Diff)
/source/blender/freestyle/intern/stroke/Stroke.h (+5, -5) (Diff)
/source/blender/freestyle/intern/view_map/Interface0D.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/Interface0D.h (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/Silhouette.h (+3, -3) (Diff)
/source/blender/freestyle/intern/view_map/ViewMap.h (+4, -4) (Diff)
/source/blender/freestyle/intern/stroke/Operators.cpp (+14, -13) (Diff)
/source/blender/freestyle/intern/stroke/Stroke.h (+5, -5) (Diff)
/source/blender/freestyle/intern/view_map/Interface0D.cpp (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/Interface0D.h (+2, -2) (Diff)
/source/blender/freestyle/intern/view_map/Silhouette.h (+3, -3) (Diff)
/source/blender/freestyle/intern/view_map/ViewMap.h (+4, -4) (Diff)