From f0eda573926fa3adc463db84433644f4be759a0c Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 29 Apr 2021 17:48:14 +0200 Subject: Fix error in Python UI script --- intern/cycles/blender/addon/ui.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'intern') diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index 0b7f548c792..9aea7725810 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -552,8 +552,9 @@ class CYCLES_RENDER_PT_light_paths_fast_gi(CyclesButtonsPanel, Panel): if world: light = world.light_settings - sub.prop(light, "ao_factor", text="AO Factor") - layout.prop(light, "distance", text="AO Distance") + col = layout.column(align=True) + col.prop(light, "ao_factor", text="AO Factor") + col.prop(light, "distance", text="AO Distance") class CYCLES_RENDER_PT_motion_blur(CyclesButtonsPanel, Panel): -- cgit v1.2.3