[Bf-blender-cvs] [a39edbfb196] soc-2021-uv-editor-improvements: Fix Cycles material slots list being too short
Romain Toumi
noreply at git.blender.org
Mon Aug 9 03:24:41 CEST 2021
Commit: a39edbfb196b37a6c39ccb169aeea1bfe06ac81c
Author: Romain Toumi
Date: Mon Aug 2 19:54:04 2021 +0200
Branches: soc-2021-uv-editor-improvements
https://developer.blender.org/rBa39edbfb196b37a6c39ccb169aeea1bfe06ac81c
Fix Cycles material slots list being too short
Bring it in line with Eevee.
Differential Revision: https://developer.blender.org/D11982
===================================================================
M intern/cycles/blender/addon/ui.py
===================================================================
diff --git a/intern/cycles/blender/addon/ui.py b/intern/cycles/blender/addon/ui.py
index 8846c621529..336fb02ba36 100644
--- a/intern/cycles/blender/addon/ui.py
+++ b/intern/cycles/blender/addon/ui.py
@@ -1102,7 +1102,7 @@ class CYCLES_PT_context_material(CyclesButtonsPanel, Panel):
if ob:
is_sortable = len(ob.material_slots) > 1
- rows = 1
+ rows = 3
if (is_sortable):
rows = 4
More information about the Bf-blender-cvs
mailing list