UI: make light spot shape panel consistent between Cycles and Eevee

Differential Revision: https://developer.blender.org/D9906
This commit is contained in:
Matteo Falduto 2020-12-21 13:58:12 +01:00 committed by Brecht Van Lommel
parent d2239b685c
commit 985528c9b9
1 changed files with 1 additions and 1 deletions

View File

@ -1443,6 +1443,7 @@ class CYCLES_LIGHT_PT_nodes(CyclesButtonsPanel, Panel):
class CYCLES_LIGHT_PT_spot(CyclesButtonsPanel, Panel):
bl_label = "Spot Shape"
bl_parent_id = "CYCLES_LIGHT_PT_light"
bl_context = "data"
@classmethod
@ -1454,7 +1455,6 @@ class CYCLES_LIGHT_PT_spot(CyclesButtonsPanel, Panel):
layout = self.layout
light = context.light
layout.use_property_split = True
layout.use_property_decorate = False
col = layout.column()
col.prop(light, "spot_size", text="Size")