[Bf-blender-cvs] [680b2a4901e] soc-2020-outliner: Collection Colors: Disable background drawing
Nathan Craddock
noreply at git.blender.org
Sun Jul 5 00:51:18 CEST 2020
Commit: 680b2a4901e16165adc67d44342370443870cc36
Author: Nathan Craddock
Date: Sat Jul 4 11:25:03 2020 -0600
Branches: soc-2020-outliner
https://developer.blender.org/rB680b2a4901e16165adc67d44342370443870cc36
Collection Colors: Disable background drawing
Try icon coloring again.
===================================================================
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 9f3760af3d7..af9263048ab 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -3207,7 +3207,8 @@ static void outliner_draw_tree_element(bContext *C,
te->flag |= TE_ACTIVE; /* For lookup in display hierarchies. */
}
- /* collection colors */
+#if 0
+ /* Collection colors. */
if (outliner_is_collection_tree_element(te)) {
Collection *collection = outliner_collection_from_tree_element(te);
@@ -3227,6 +3228,7 @@ static void outliner_draw_tree_element(bContext *C,
GPU_blend(true);
}
}
+#endif /* if 0 */
if (tselem->type == TSE_VIEW_COLLECTION_BASE) {
/* Scene collection in view layer can't expand/collapse. */
More information about the Bf-blender-cvs
mailing list