* Fix #36717, don't grey out AO distance property, as it affects the AO Render Pass and AO closure as well.
This commit is contained in:
parent
7fb3de281d
commit
e2171d7408
@ -830,12 +830,13 @@ class CyclesWorld_PT_ambient_occlusion(CyclesButtonsPanel, Panel):
|
||||
|
||||
def draw(self, context):
|
||||
layout = self.layout
|
||||
|
||||
light = context.world.light_settings
|
||||
|
||||
layout.active = light.use_ambient_occlusion
|
||||
|
||||
row = layout.row()
|
||||
row.prop(light, "ao_factor", text="Factor")
|
||||
sub = row.row()
|
||||
sub.active = light.use_ambient_occlusion
|
||||
sub.prop(light, "ao_factor", text="Factor")
|
||||
row.prop(light, "distance", text="Distance")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user