diff options
author | Ton Roosendaal <ton@blender.org> | 2004-07-01 01:59:12 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2004-07-01 01:59:12 +0400 |
commit | d4755e8c5c4f2cdec48a95d26000ede1572f3e48 (patch) | |
tree | 4ee40be72cc98a1412977f03b5225dfd294638a0 /source/blender/src/interface_panel.c | |
parent | a8ef804146751f8b5ec0f83b411f4ab7d041ed84 (diff) |
Fixed draw error in panels, the header was overdrawn with panel background.
Only visible when panels are not transparent.
Diffstat (limited to 'source/blender/src/interface_panel.c')
-rw-r--r-- | source/blender/src/interface_panel.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/src/interface_panel.c b/source/blender/src/interface_panel.c index 6ee216c8788..dc061aed35e 100644 --- a/source/blender/src/interface_panel.c +++ b/source/blender/src/interface_panel.c @@ -901,7 +901,7 @@ void ui_draw_panel(uiBlock *block) } /* an open panel */ else { - /* panel in the buttons window */ + /* all panels now... */ if(panel->control & UI_PNL_SOLID) { BIF_ThemeColorShade(TH_HEADER, -30); @@ -913,8 +913,8 @@ void ui_draw_panel(uiBlock *block) glEnable(GL_BLEND); BIF_ThemeColor4(TH_PANEL); - uiSetRoundBox(15); - uiRoundBox(block->minx, block->miny, block->maxx, block->maxy+PNL_HEADER, 8); + uiSetRoundBox(12); + uiRoundBox(block->minx, block->miny, block->maxx, block->maxy, 8); // glRectf(block->minx, block->miny, block->maxx, block->maxy); |