From ae5f19e32ad334dd4a69af193fc4e0236ac3ca2e Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Thu, 13 Dec 2018 11:51:50 +0100 Subject: [PATCH] Fix T59125: Outliner does not show view layer count Reviewers: brecht Differential Revision: https://developer.blender.org/D4060 --- source/blender/editors/space_outliner/outliner_draw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c index 6cf7e2ce0a1..3ca7a510300 100644 --- a/source/blender/editors/space_outliner/outliner_draw.c +++ b/source/blender/editors/space_outliner/outliner_draw.c @@ -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 { -- 2.28.0