Fix error in Python UI script

This commit is contained in:
Brecht Van Lommel 2021-04-29 17:48:14 +02:00
parent 9f1a409f3a
commit f0eda57392
1 changed files with 3 additions and 2 deletions

View File

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