[Bf-blender-cvs] [69d1ddd4c64] master: Fix Cycles Light Tree UI after recent changes.

Thomas Dinges noreply at git.blender.org
Thu Dec 15 10:25:21 CET 2022


Commit: 69d1ddd4c64056048a8d71fe7db5f878cefe4614
Author: Thomas Dinges
Date:   Thu Dec 15 10:25:06 2022 +0100
Branches: master
https://developer.blender.org/rB69d1ddd4c64056048a8d71fe7db5f878cefe4614

Fix Cycles Light Tree UI after recent changes.

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

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

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

diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 4746790aae8..d45d7afb16f 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -395,9 +395,13 @@ class CYCLES_RENDER_PT_sampling_lights(CyclesButtonsPanel, Panel):
 
     def draw(self, context):
         layout = self.layout
+        layout.use_property_split = True
+        layout.use_property_decorate = False
+
         scene = context.scene
         cscene = scene.cycles
 
+        col = layout.column(align=True)
         col.prop(cscene, "use_light_tree")
         sub = col.row()
         sub.prop(cscene, "light_sampling_threshold", text="Light Threshold")



More information about the Bf-blender-cvs mailing list