- fixed bug caused by changing order of drawing buttons in material panel 2

the 'OB' and 'ME' buttons were not visible in all situations anymore...
This commit is contained in:
2003-11-19 12:43:21 +00:00
parent 76766ed969
commit ab9e6f69a0
3 changed files with 16 additions and 10 deletions

View File

@@ -634,9 +634,11 @@ void uiDrawBlock(uiBlock *block)
{
uiBut *but;
/* handle pending stuff */
if(block->autofill) ui_autofill(block);
if(block->minx==0.0 && block->maxx==0.0) uiBoundsBlock(block, 0);
if(block->flag & UI_BUT_ALIGN) uiBlockEndAlign(block);
uiPanelPush(block); // panel matrix
if(block->flag & UI_BLOCK_LOOP) {