Fix T44240: Lamp Halo invisible in rendering.
Halo is not possible when using 'deep' buffer shadow - reflect that in UI. When not using buffered shadows, switch lamp bufftype to 'regular' on render, as already done with 'halfway' method.
This commit is contained in:
@@ -355,6 +355,7 @@ class DATA_PT_spot(DataButtonsPanel, Panel):
|
||||
|
||||
col = split.column()
|
||||
|
||||
col.active = (lamp.shadow_method != 'BUFFER_SHADOW' or lamp.shadow_buffer_type != 'DEEP')
|
||||
col.prop(lamp, "use_halo")
|
||||
sub = col.column(align=True)
|
||||
sub.active = lamp.use_halo
|
||||
|
||||
Reference in New Issue
Block a user