Commit: e1dd83b399d46d81ea51f6c41725eec5c1a1db7a
Author: Sergey Sharybin
Date:   Tue May 24 12:16:16 2016 +0200
Branches: master
https://developer.blender.org/rBe1dd83b399d46d81ea51f6c41725eec5c1a1db7a

Fix T48486: Not enough precision in Volume Sampling Step Size input

Volumes might be small, makes sense to use more precision here.

===================================================================

M       intern/cycles/blender/addon/properties.py

===================================================================

diff --git a/intern/cycles/blender/addon/properties.py 
b/intern/cycles/blender/addon/properties.py
index eed86a6..1408627 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -359,7 +359,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, soft_min=0.01, soft_max=1.0
+                min=0.0000001, max=100000.0, soft_min=0.01, soft_max=1.0, 
precision=4
                 )
 
         cls.volume_max_steps = IntProperty(

_______________________________________________
Bf-blender-cvs mailing list
Bf-blender-cvs@blender.org
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to