diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-13 01:03:09 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-13 01:03:09 +0300 |
commit | 655f101ef719157c553c6d1198efc7eb87fba840 (patch) | |
tree | d1d085fbd477bb0b1012bf56726a2ee8b22a8bc4 /source | |
parent | 824f391c75d5a90022541de236136d8841fc74e9 (diff) |
Bugfix: restriction buttons didn't draw correct when outliner view was
'all scenes' or 'groups'. Caused by optizing drawing.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/src/outliner.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/outliner.c b/source/blender/src/outliner.c index f728fbe97db..1032dc43285 100644 --- a/source/blender/src/outliner.c +++ b/source/blender/src/outliner.c @@ -3398,8 +3398,8 @@ static void outliner_buttons(uiBlock *block, SpaceOops *soops, ListBase *lb) int dx, len; for(te= lb->first; te; te= te->next) { + tselem= TREESTORE(te); if(te->ys >= soops->v2d.cur.ymin && te->ys <= soops->v2d.cur.ymax) { - tselem= TREESTORE(te); if(tselem->flag & TSE_TEXTBUT) { if(tselem->type == TSE_POSE_BASE) continue; // prevent crash when trying to rename 'pose' entry of armature @@ -3474,9 +3474,9 @@ static void outliner_buttons(uiBlock *block, SpaceOops *soops, ListBase *lb) uiBlockSetEmboss(block, UI_EMBOSS); } } - - if((tselem->flag & TSE_CLOSED)==0) outliner_buttons(block, soops, &te->subtree); } + + if((tselem->flag & TSE_CLOSED)==0) outliner_buttons(block, soops, &te->subtree); } } |