Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2021-04-29 18:48:14 +0300
committerBrecht Van Lommel <brecht@blender.org>2021-04-29 20:14:57 +0300
commitf0eda573926fa3adc463db84433644f4be759a0c (patch)
tree36bb6d14e78a1d81952eae4205190ef638fd4235 /intern
parent9f1a409f3acdef770e30bfd04545feb8413f6f2b (diff)
Fix error in Python UI script
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/ui.py5
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):