From d044fd329927c69ec57af1f02a6e0435e7eb0ebf Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 16 Apr 2013 03:27:51 +0000 Subject: [PATCH] update uncrustify config, use floats for FloatProperty() min/max --- intern/cycles/blender/addon/properties.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index b0e0baf4057..5fce5d13a60 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -448,7 +448,7 @@ class CyclesCameraSettings(bpy.types.PropertyGroup): cls.fisheye_fov = FloatProperty( name="Field of View", description="Field of view for the fisheye lens", - min=0.1745, soft_max=2 * math.pi, max=10.0 * math.pi, + min=0.1745, soft_max=2.0 * math.pi, max=10.0 * math.pi, subtype='ANGLE', default=math.pi, ) @@ -743,19 +743,19 @@ class CyclesCurveRenderSettings(bpy.types.PropertyGroup): cls.encasing_ratio = FloatProperty( name="Encasing ratio", description="Scale factor for encasing strand width", - min=0, max=100.0, + min=0.0, max=100.0, default=1.01, ) cls.minimum_width = FloatProperty( name="Minimal width", description="Minimal pixel width for strands (0 - deactivated)", - min=0, max=100, + min=0.0, max=100.0, default=0.0, ) cls.maximum_width = FloatProperty( name="Maximal width", description="Maximum extension that strand radius can be increased by", - min=0, max=100, + min=0.0, max=100.0, default=0.1, ) cls.subdivisions = IntProperty(