Commit: 88f392f045bd7f4ff04e4d122afa69b522972135
Author: Antonioya
Date: Tue Oct 16 08:45:01 2018 +0200
Branches: blender2.8
https://developer.blender.org/rB88f392f045bd7f4ff04e4d122afa69b522972135
Set Annotation list in Top-Down order
This makes consistent the orders of any grease pencil related list
===================================================================
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 052652faf1a..81b99262a60 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -741,7 +741,8 @@ class AnnotationDataPanel:
layer_rows = 5
else:
layer_rows = 2
- col.template_list("GPENCIL_UL_annotation_layer", "", gpd, "layers",
gpd.layers, "active_index", rows=layer_rows)
+ col.template_list("GPENCIL_UL_annotation_layer", "", gpd, "layers",
gpd.layers, "active_index",
+ rows=layer_rows, reverse=True)
col = row.column()
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs