diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py index d7399e87886..1f5ed5c43e7 100644 --- a/intern/cycles/blender/addon/ui.py +++ b/intern/cycles/blender/addon/ui.py @@ -1518,6 +1518,7 @@ class CYCLES_LIGHT_PT_light(CyclesButtonsPanel, Panel): col = layout.column() heading = col.column(align=True, heading="Temperature") row = heading.column(align=True).row(align=True) + row.use_property_decorate = False row.prop(light, "use_temperature", text="") # Don't show color preview for now, it is grayed out so the color # is not accurate. Would not a change in the UI code to allow @@ -1531,6 +1532,7 @@ class CYCLES_LIGHT_PT_light(CyclesButtonsPanel, Panel): sub = row.row() sub.active = light.use_temperature sub.prop(light, "temperature", text="") + row.prop_decorator(light, "temperature") if light.use_temperature: col.prop(light, "color", text="Tint") diff --git a/scripts/startup/bl_ui/properties_data_light.py b/scripts/startup/bl_ui/properties_data_light.py index 492559f9185..902af19d3c4 100644 --- a/scripts/startup/bl_ui/properties_data_light.py +++ b/scripts/startup/bl_ui/properties_data_light.py @@ -91,6 +91,7 @@ class DATA_PT_EEVEE_light(DataButtonsPanel, Panel): col = layout.column() heading = col.column(align=True, heading="Temperature") row = heading.column(align=True).row(align=True) + row.use_property_decorate = False row.prop(light, "use_temperature", text="") # Don't show color preview for now, it is grayed out so the color # is not accurate. Would not a change in the UI code to allow @@ -104,6 +105,7 @@ class DATA_PT_EEVEE_light(DataButtonsPanel, Panel): sub = row.row() sub.active = light.use_temperature sub.prop(light, "temperature", text="") + row.prop_decorator(light, "temperature") if light.use_temperature: col.prop(light, "color", text="Tint")