[Bf-blender-cvs] [cf2e5e31637] blender2.8: Small change to Annotation panel

Antonioya noreply at git.blender.org
Tue Oct 16 17:59:56 CEST 2018


Commit: cf2e5e316378cce4d0b367dc01f332c2852a5472
Author: Antonioya
Date:   Tue Oct 16 17:59:42 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBcf2e5e316378cce4d0b367dc01f332c2852a5472

Small change to Annotation panel

Add one line more by default

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

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

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

diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 81b99262a60..a4d62f1757c 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -740,7 +740,7 @@ class AnnotationDataPanel:
         if len(gpd.layers) >= 2:
             layer_rows = 5
         else:
-            layer_rows = 2
+            layer_rows = 3
         col.template_list("GPENCIL_UL_annotation_layer", "", gpd, "layers", gpd.layers, "active_index",
                           rows=layer_rows, reverse=True)



More information about the Bf-blender-cvs mailing list