[Bf-blender-cvs] [ee30131] compositor-2016: Fix T48486: Not enough precision in Volume Sampling Step Size input

Sergey Sharybin noreply at git.blender.org
Wed Jun 8 21:49:51 CEST 2016


Commit: ee30131e0010dab2c7ae43e0cd5906abbd49fad1
Author: Sergey Sharybin
Date:   Tue May 24 12:16:16 2016 +0200
Branches: compositor-2016
https://developer.blender.org/rBee30131e0010dab2c7ae43e0cd5906abbd49fad1

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(




More information about the Bf-blender-cvs mailing list