[Bf-blender-cvs] [69c9266d815] blender2.8: GP: Expand properties material list

Antonioya noreply at git.blender.org
Thu Sep 27 22:11:10 CEST 2018


Commit: 69c9266d815550b9b5ce6826cc6f013f69700746
Author: Antonioya
Date:   Thu Sep 27 22:10:39 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB69c9266d815550b9b5ce6826cc6f013f69700746

GP: Expand properties material list

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

M	release/scripts/startup/bl_ui/properties_material_gpencil.py

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

diff --git a/release/scripts/startup/bl_ui/properties_material_gpencil.py b/release/scripts/startup/bl_ui/properties_material_gpencil.py
index 7da9bb475d1..8188de4318e 100644
--- a/release/scripts/startup/bl_ui/properties_material_gpencil.py
+++ b/release/scripts/startup/bl_ui/properties_material_gpencil.py
@@ -107,9 +107,7 @@ class MATERIAL_PT_gpencil_slots(Panel):
 
         if ob:
             is_sortable = len(ob.material_slots) > 1
-            rows = 1
-            if (is_sortable):
-                rows = 4
+            rows = 8
 
             row = layout.row()



More information about the Bf-blender-cvs mailing list