diff options
author | Brecht Van Lommel <brecht@blender.org> | 2021-04-29 18:48:14 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2021-04-29 20:14:57 +0300 |
commit | f0eda573926fa3adc463db84433644f4be759a0c (patch) | |
tree | 36bb6d14e78a1d81952eae4205190ef638fd4235 /intern/cycles/blender/addon/ui.py | |
parent | 9f1a409f3acdef770e30bfd04545feb8413f6f2b (diff) |
Fix error in Python UI script
Diffstat (limited to 'intern/cycles/blender/addon/ui.py')
-rw-r--r-- | intern/cycles/blender/addon/ui.py | 5 |
1 files changed, 3 insertions, 2 deletions
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): |