Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Ebb <matt@mke3.net>2006-11-21 06:51:08 +0300
committerMatt Ebb <matt@mke3.net>2006-11-21 06:51:08 +0300
commit2d0a83ba09a8cb4c881053a5f27ebc7c8a769e65 (patch)
tree2f7e5362f4cdca9b1f7c164ad2c3747be846a9f7 /source/blender/src/outliner.c
parent476af8c06a999c8848680ff19bb07d93602e1074 (diff)
* Show renderability toggle for all objects, since they might be used
as group duplicators, d'oh!
Diffstat (limited to 'source/blender/src/outliner.c')
-rw-r--r--source/blender/src/outliner.c11
1 files changed, 4 insertions, 7 deletions
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);