[Bf-blender-cvs] [f9d3632cde1] master: Cycles: change Scrambling Distance Multiplier to a soft limit

Brecht Van Lommel noreply at git.blender.org
Tue Mar 15 16:28:32 CET 2022


Commit: f9d3632cde17b13281d387c570755aa78a14b7d6
Author: Brecht Van Lommel
Date:   Tue Mar 15 16:06:57 2022 +0100
Branches: master
https://developer.blender.org/rBf9d3632cde17b13281d387c570755aa78a14b7d6

Cycles: change Scrambling Distance Multiplier to a soft limit

This allows users to type in values larger than 1, for use in conjunction
with automatic scrambling distance.

Contributed by Alaska.

Differential Revision: https://developer.blender.org/D13580

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

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

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

diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index 8896f620b9f..a0741c0633d 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -348,7 +348,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
     scrambling_distance: FloatProperty(
         name="Scrambling Distance",
         default=1.0,
-        min=0.0, max=1.0,
+        min=0.0, soft_max=1.0,
         description="Reduce randomization between pixels to improve GPU rendering performance, at the cost of possible rendering artifacts if set too low. Only works when not using adaptive sampling",
     )
     preview_scrambling_distance: BoolProperty(



More information about the Bf-blender-cvs mailing list