Commit: ae5f19e32ad334dd4a69af193fc4e0236ac3ca2e Author: Jacques Lucke Date: Thu Dec 13 11:51:50 2018 +0100 Branches: blender2.8 https://developer.blender.org/rBae5f19e32ad334dd4a69af193fc4e0236ac3ca2e
Fix T59125: Outliner does not show view layer count Reviewers: brecht Differential Revision: https://developer.blender.org/D4060 =================================================================== 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 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 { _______________________________________________ Bf-blender-cvs mailing list [email protected] https://lists.blender.org/mailman/listinfo/bf-blender-cvs
