Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2014-10-29 14:15:29 +0300
committerThomas Dinges <blender@dingto.org>2014-10-29 14:16:38 +0300
commitdb4d7004d89e682911320a8c10f9eaaae93c5dde (patch)
tree656cb5d163fa23aa45e213a1018bf5a8c28fbef8 /intern
parentd73e3f71d4cd5975c82f61d57494aa56a0760c29 (diff)
Cycles: Add a soft min/max UI value for volume step size, usually a range from 0.01 to 1.0 is fine.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/properties.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index 05a6f70d423..bd4ade05e5f 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -350,7 +350,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
description="Distance between volume shader samples when rendering the volume "
"(lower values give more accurate and detailed results, but also increased render time)",
default=0.1,
- min=0.0000001, max=100000.0
+ min=0.0000001, max=100000.0, soft_min=0.01, soft_max=1.0
)
cls.volume_max_steps = IntProperty(