From 2d0a83ba09a8cb4c881053a5f27ebc7c8a769e65 Mon Sep 17 00:00:00 2001 From: Matt Ebb Date: Tue, 21 Nov 2006 03:51:08 +0000 Subject: * Show renderability toggle for all objects, since they might be used as group duplicators, d'oh! --- source/blender/src/outliner.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'source/blender') diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index 969e7b840e2..18ef168b7e6 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -3275,13 +3275,10 @@ static void outliner_buttons(uiBlock *block, SpaceOops *soops, ListBase *lb) uiButSetFunc(bt, restrictbutton_sel_cb, ob, NULL); uiButSetFlag(bt, UI_NO_HILITE); - /* don't show 'renderable' icons for objects that don't render anyway */ - if (! (ELEM4(ob->type, OB_CAMERA, OB_LATTICE, OB_ARMATURE, OB_EMPTY))) { - bt= uiDefIconButBitS(block, ICONTOG, OB_RESTRICT_RENDER, REDRAWALL, ICON_RESTRICT_RENDER_OFF, - (int)soops->v2d.mask.xmax-(OL_TOG_RESTRICT_RENDERX+SCROLLB), te->ys, 17, OL_H-1, &(ob->restrictflag), 0, 0, 0, 0, "Restrict/Allow renderability"); - uiButSetFunc(bt, restrictbutton_rend_cb, NULL, NULL); - uiButSetFlag(bt, UI_NO_HILITE); - } + bt= uiDefIconButBitS(block, ICONTOG, OB_RESTRICT_RENDER, REDRAWALL, ICON_RESTRICT_RENDER_OFF, + (int)soops->v2d.mask.xmax-(OL_TOG_RESTRICT_RENDERX+SCROLLB), te->ys, 17, OL_H-1, &(ob->restrictflag), 0, 0, 0, 0, "Restrict/Allow renderability"); + uiButSetFunc(bt, restrictbutton_rend_cb, NULL, NULL); + uiButSetFlag(bt, UI_NO_HILITE); uiBlockSetEmboss(block, UI_EMBOSS); -- cgit v1.2.3