diff options
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 072bc5a6feb..bef01b5a454 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -665,13 +665,7 @@ void uiDrawBlock(const bContext *C, uiBlock *block) /* widgets */ for(but= block->buttons.first; but; but= but->next) { ui_but_to_pixelrect(&rect, ar, block, but); - ui_draw_but(ar, &style, but, &rect); - - /* temp? roundbox defines size/location of preview, and ID type */ - if(but->type==ROUNDBOX) - if(block->drawextra) - block->drawextra(C, but->poin, &rect); - + ui_draw_but(C, ar, &style, but, &rect); } /* restore matrix */ |