mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix error in Python UI script
This commit is contained in:
parent
9f1a409f3a
commit
f0eda57392
1 changed files with 3 additions and 2 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue