[Bf-blender-cvs] [aad8b8405cf] master: Fix T89655: tweak Cycles transparent bounces UI for clarity

Brecht Van Lommel noreply at git.blender.org
Mon Jul 5 13:43:07 CEST 2021


Commit: aad8b8405cfb34cdb3c0236e6ace7ba3ef5d99c7
Author: Brecht Van Lommel
Date:   Mon Jul 5 13:38:08 2021 +0200
Branches: master
https://developer.blender.org/rBaad8b8405cfb34cdb3c0236e6ace7ba3ef5d99c7

Fix T89655: tweak Cycles transparent bounces UI for clarity

Transparent bounces are independent of other bounces, so don't group
them together.

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

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

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

diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py
index 71e2f9fc3a5..b014811211f 100644
--- a/intern/cycles/blender/addon/properties.py
+++ b/intern/cycles/blender/addon/properties.py
@@ -482,7 +482,7 @@ class CyclesRenderSettings(bpy.types.PropertyGroup):
 
     transparent_max_bounces: IntProperty(
         name="Transparent Max Bounces",
-        description="Maximum number of transparent bounces",
+        description="Maximum number of transparent bounces. This is independent of maximum number of other bounces ",
         min=0, max=1024,
         default=8,
     )
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 3d990467f04..30892cdbbc0 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -485,10 +485,12 @@ class CYCLES_RENDER_PT_light_paths_max_bounces(CyclesButtonsPanel, Panel):
         col = layout.column(align=True)
         col.prop(cscene, "diffuse_bounces", text="Diffuse")
         col.prop(cscene, "glossy_bounces", text="Glossy")
-        col.prop(cscene, "transparent_max_bounces", text="Transparency")
         col.prop(cscene, "transmission_bounces", text="Transmission")
         col.prop(cscene, "volume_bounces", text="Volume")
 
+        col = layout.column(align=True)
+        col.prop(cscene, "transparent_max_bounces", text="Transparent")
+
 
 class CYCLES_RENDER_PT_light_paths_clamping(CyclesButtonsPanel, Panel):
     bl_label = "Clamping"



More information about the Bf-blender-cvs mailing list