Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-07-01 01:59:12 +0400
committerTon Roosendaal <ton@blender.org>2004-07-01 01:59:12 +0400
commitd4755e8c5c4f2cdec48a95d26000ede1572f3e48 (patch)
tree4ee40be72cc98a1412977f03b5225dfd294638a0 /source/blender/src/interface_panel.c
parenta8ef804146751f8b5ec0f83b411f4ab7d041ed84 (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.c6
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);