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:
authorNathan Craddock <nzcraddock@gmail.com>2020-08-19 06:50:50 +0300
committerNathan Craddock <nzcraddock@gmail.com>2020-08-19 06:53:04 +0300
commit8eee0a2712d8e36d6fe3ebbf3851e515b3dc1789 (patch)
tree00509746d466955162032a9097d660d0524878eb /source/blender
parentff8255f159871d020411c45351ef224bd180892b (diff)
Collections: Add color tagging and use in outliner
Add a color tag to collections and allow tagging from the outliner context menu. Show the colored icon in UI menus. Differential Revision: https://developer.blender.org/D8622
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 5cc42cbadbb..ee85864ec16 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -3460,7 +3460,7 @@ static void outliner_draw_tree(bContext *C,
}
/* Gray hierarchy lines. */
- starty = (int)region->v2d.tot.ymax - UI_UNIT_Y / 2 - OL_Y_OFFSET;
+ starty = (int)region->v2d.tot.ymax - OL_Y_OFFSET;
startx = UI_UNIT_X / 2 - (U.pixelsize + 1) / 2;
outliner_draw_hierarchy_lines(space_outliner, &space_outliner->tree, startx, &starty);