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:
authorMatteo Falduto <matteolegna>2020-12-21 15:58:12 +0300
committerBrecht Van Lommel <brecht@blender.org>2020-12-21 16:15:21 +0300
commit985528c9b9890ba4ffd5a43259994abd0e781ef6 (patch)
treef00a20fcf15fb4196379dab1bf4c26e389c72723 /intern
parentd2239b685c5660530822d8c75070208156f7e4c1 (diff)
UI: make light spot shape panel consistent between Cycles and Eevee
Differential Revision: https://developer.blender.org/D9906
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/blender/addon/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index eee7d8ec0b8..1bddacbb7a0 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -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")