[Bf-blender-cvs] [985528c9b98] master: UI: make light spot shape panel consistent between Cycles and Eevee

Matteo Falduto noreply at git.blender.org
Mon Dec 21 16:14:05 CET 2020


Commit: 985528c9b9890ba4ffd5a43259994abd0e781ef6
Author: Matteo Falduto
Date:   Mon Dec 21 13:58:12 2020 +0100
Branches: master
https://developer.blender.org/rB985528c9b9890ba4ffd5a43259994abd0e781ef6

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

Differential Revision: https://developer.blender.org/D9906

===================================================================

M	intern/cycles/blender/addon/ui.py

===================================================================

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")



More information about the Bf-blender-cvs mailing list