diff options
author | Ton Roosendaal <ton@blender.org> | 2003-10-16 16:03:03 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-10-16 16:03:03 +0400 |
commit | 77b37c99271c0c05728ebc1f1974c918bee1f566 (patch) | |
tree | 30e670b71a6419f99c7e7b4ac53cfc8cb694a31e /source/blender/src/drawoops.c | |
parent | a7cd8b5951d8138cc27be75842cf79f66a44508c (diff) |
- fix for drawing buttons in fileselectors, it used an old exception
and special 'EMBOSSF' drawing function. Now complies to standard.
Diffstat (limited to 'source/blender/src/drawoops.c')
-rw-r--r-- | source/blender/src/drawoops.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source/blender/src/drawoops.c b/source/blender/src/drawoops.c index bf5971839b9..0642e76819c 100644 --- a/source/blender/src/drawoops.c +++ b/source/blender/src/drawoops.c @@ -370,15 +370,11 @@ void drawoopsspace(ScrArea *sa, void *spacedata) uiBlock *block; Oops *oops; int ofsx, ofsy; - char name[32]; glClearColor(0.55, 0.55, 0.55, 0.0); glClear(GL_COLOR_BUFFER_BIT); if(G.soops==0) return; - sprintf(name, "win %d", curarea->win); - block= uiNewBlock(&curarea->uiblocks, name, UI_EMBOSSF, UI_HELVB, curarea->win); - boundbox_oops(); calc_scrollrcts(G.v2d, curarea->winx, curarea->winy); @@ -431,8 +427,6 @@ void drawoopsspace(ScrArea *sa, void *spacedata) } draw_area_emboss(sa); - uiDrawBlock(block); - curarea->win_swap= WIN_BACK_OK; } |