Fix T59125: Outliner does not show view layer count

Reviewers: brecht

Differential Revision: https://developer.blender.org/D4060
This commit is contained in:
Jacques Lucke 2018-12-13 11:51:50 +01:00
parent 6c39ea27c8
commit ae5f19e32a
Notes: blender-bot 2023-02-14 04:34:40 +01:00
Referenced by issue #59125, Outliner -  Scene display mode  - isn´t showing the count of the View Layers
1 changed files with 1 additions and 1 deletions

View File

@ -1521,7 +1521,7 @@ static void outliner_draw_iconrow(
active = tree_element_type_active(C, scene, view_layer, soops, te, tselem, OL_SETSEL_NONE, false);
}
if (!ELEM(tselem->type, 0, TSE_LAYER_COLLECTION)) {
if (!ELEM(tselem->type, 0, TSE_LAYER_COLLECTION, TSE_R_LAYER)) {
outliner_draw_iconrow_doit(block, te, fstyle, xmax, offsx, ys, alpha_fac, active, 1);
}
else {