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>2019-03-21 11:29:16 +0300
committerAntonioya <blendergit@gmail.com>2019-03-21 11:29:16 +0300
commitb346a7c0df38a308bf6f586a74c72b2e03f11d15 (patch)
treeb145a073c1cf89bd1745e195bebef49478f17261 /source/blender/editors/space_outliner/outliner_tree.c
parentb98fe9e70740ebfbd8910454036819d3a5fcd330 (diff)
Fix T62802: Layer order inverted in Outliner
Diffstat (limited to 'source/blender/editors/space_outliner/outliner_tree.c')
-rw-r--r--source/blender/editors/space_outliner/outliner_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_tree.c b/source/blender/editors/space_outliner/outliner_tree.c
index 18623fc0b5e..7d700be0ec7 100644
--- a/source/blender/editors/space_outliner/outliner_tree.c
+++ b/source/blender/editors/space_outliner/outliner_tree.c
@@ -699,7 +699,7 @@ static void outliner_add_id_contents(SpaceOutliner *soops, TreeElement *te, Tree
outliner_add_element(soops, &te->subtree, gpd, te, TSE_ANIM_DATA, 0);
// TODO: base element for layers?
- for (gpl = gpd->layers.first; gpl; gpl = gpl->next) {
+ for (gpl = gpd->layers.last; gpl; gpl = gpl->prev) {
outliner_add_element(soops, &te->subtree, gpl, te, TSE_GP_LAYER, a);
a++;
}