[Bf-blender-cvs] [92dfc8f2673] master: Outliner: regroup more type of entries under a single icon.
Bastien Montagne
noreply at git.blender.org
Thu Apr 8 11:48:23 CEST 2021
Commit: 92dfc8f2673e14b8518c07d3d4234ee375243a9e
Author: Bastien Montagne
Date: Wed Apr 7 16:00:52 2021 +0200
Branches: master
https://developer.blender.org/rB92dfc8f2673e14b8518c07d3d4234ee375243a9e
Outliner: regroup more type of entries under a single icon.
In folded view, some type of data are listed as one icon per item,
others are 'compacted' as a single icon with a counter.
This commit adds bones (edit, normal and pose ones), pose groups and
vertex groups as 'compacted' ones in folded view.
Part of D10855.
===================================================================
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 99bc23ad246..14d7cf7abd4 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -2979,12 +2979,18 @@ static void outliner_draw_iconrow(bContext *C,
}
if (!ELEM(tselem->type,
+ TSE_ID_BASE,
TSE_SOME_ID,
TSE_LAYER_COLLECTION,
TSE_R_LAYER,
TSE_GP_LAYER,
TSE_LIBRARY_OVERRIDE_BASE,
- TSE_LIBRARY_OVERRIDE)) {
+ TSE_LIBRARY_OVERRIDE,
+ TSE_BONE,
+ TSE_EBONE,
+ TSE_POSE_CHANNEL,
+ TSE_POSEGRP,
+ TSE_DEFGROUP)) {
outliner_draw_iconrow_doit(block, te, fstyle, xmax, offsx, ys, alpha_fac, active, 1);
}
else {
More information about the Bf-blender-cvs
mailing list