[Bf-blender-cvs] [8eee0a2712d] soc-2020-outliner: Collections: Add color tagging and use in outliner
Nathan Craddock
noreply at git.blender.org
Thu Aug 20 19:55:00 CEST 2020
Commit: 8eee0a2712d8e36d6fe3ebbf3851e515b3dc1789
Author: Nathan Craddock
Date: Tue Aug 18 21:50:50 2020 -0600
Branches: soc-2020-outliner
https://developer.blender.org/rB8eee0a2712d8e36d6fe3ebbf3851e515b3dc1789
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
===================================================================
M source/blender/editors/space_outliner/outliner_draw.c
===================================================================
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);
More information about the Bf-blender-cvs
mailing list