From 5083e0737f6413c63ab49b82735333534181d9b4 Mon Sep 17 00:00:00 2001 From: Tamito Kajiyama Date: Sun, 9 Dec 2012 23:19:46 +0000 Subject: All angle properties were switched from degrees to radians (using PROP_ANGLE RNA subtype), since Freestyle internally use angles in radians. A patch set by Bastien Montagne (many thanks!) NOTICE FOR BRANCH USERS: This commit may break line drawing settings of already saved Freestyle files. All angles are now treated as radians instead of degrees, so collections of angle values might be necessary in order to recover previous visual results. Affected properties are: - Crease Angle in the edge detection options - Min 2D Angle in the 'Splitting' section of a line style - Max 2D Angle in the 'Splitting' section of a line style - 'orientation' parameter of the Calligraphy thickness modifier - 'angle' parameter of the PerlinNoise1D geometry modifier - 'angle' parameter of the PerlinNoise2D geometry modifier - 'angle' parameter of the 2DTransform geometry modifier --- source/blender/makesdna/DNA_freestyle_types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesdna/DNA_freestyle_types.h') diff --git a/source/blender/makesdna/DNA_freestyle_types.h b/source/blender/makesdna/DNA_freestyle_types.h index b78ea9a13bb..505fe474e8b 100644 --- a/source/blender/makesdna/DNA_freestyle_types.h +++ b/source/blender/makesdna/DNA_freestyle_types.h @@ -125,7 +125,7 @@ typedef struct FreestyleConfig { int flags; /* suggestive contours, ridges/valleys, material boundaries */ float sphere_radius; float dkr_epsilon; - float crease_angle; + float crease_angle; /* in radians! */ ListBase linesets; -- cgit v1.2.3