diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-16 07:27:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-16 07:27:51 +0400 |
commit | d044fd329927c69ec57af1f02a6e0435e7eb0ebf (patch) | |
tree | 8fd12ba2dd96ad1a869a0aad8ef9f44e47d89260 | |
parent | e93f00d73d8e48fe7aab2949224315c396ddf903 (diff) |
update uncrustify config, use floats for FloatProperty() min/max
-rw-r--r-- | intern/cycles/blender/addon/properties.py | 8 |
1 files 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( |