Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonioya <blendergit@gmail.com>2018-10-16 09:45:01 +0300
committerAntonioya <blendergit@gmail.com>2018-10-16 09:45:01 +0300
commit88f392f045bd7f4ff04e4d122afa69b522972135 (patch)
tree3ea96db921f05d121901a06e8376cb988e9a8a4b /release/scripts/startup/bl_ui
parentc1b8ce31709286a6a007e3970a1b1f777fef7ce3 (diff)
Set Annotation list in Top-Down order
This makes consistent the orders of any grease pencil related list
Diffstat (limited to 'release/scripts/startup/bl_ui')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py3
1 files changed, 2 insertions, 1 deletions
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()