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.
This commit is contained in:
Bastien Montagne 2021-04-07 16:00:52 +02:00
parent e1ae5bd45f
commit 92dfc8f267
Notes: blender-bot 2023-02-13 11:53:27 +01:00
Referenced by commit b6a35a8153, Outliner: use 'compacted' row for bones as well
1 changed files with 7 additions and 1 deletions

View File

@ -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 {