Fix Cycles Light Tree UI after recent changes.

This commit is contained in:
Thomas Dinges 2022-12-15 10:25:06 +01:00
parent e5f139e99d
commit 69d1ddd4c6
1 changed files with 4 additions and 0 deletions

View File

@ -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")