diff options
author | Ton Roosendaal <ton@blender.org> | 2005-08-20 13:55:11 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2005-08-20 13:55:11 +0400 |
commit | 29429d73f261b2e15582395da84e102597a829a8 (patch) | |
tree | 9c6488558b3d0ae3eb3ee8f655eb4e608b980b61 /source/blender/src/interface_panel.c | |
parent | 74be13ba8b6ab19bad187902df258d07f7cbd342 (diff) |
A couple of smaller fixes;
- Modifier Panel, name label for "Virtual" modifiers was too short
- On extrude Bones, "soft distance" now is always set based on length
of the bone (also on CTRL+click, also when Envelope drawmode is not set)
- Added undo-push for "Apply Bone Envelopees to VertexGroup" in WeightPaint.
- Menu-buttons in floating panels sometimes gave drawing error
- InfoWindow buttons were always allocated & drawn, even when window was
zero sized... waste of cpu, tsk!
Diffstat (limited to 'source/blender/src/interface_panel.c')
-rw-r--r-- | source/blender/src/interface_panel.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/src/interface_panel.c b/source/blender/src/interface_panel.c index a0583e9cf3b..54bab5703a3 100644 --- a/source/blender/src/interface_panel.c +++ b/source/blender/src/interface_panel.c @@ -721,7 +721,7 @@ void uiMatchPanel_view2d(ScrArea *sa) } } -/* extern used ny previewrender */ +/* extern used by previewrender */ void uiPanelPush(uiBlock *block) { glPushMatrix(); @@ -896,7 +896,7 @@ static void ui_draw_panel_header(uiBlock *block) /* active tab */ /* draw text label */ BIF_ThemeColor(TH_TEXT_HI); - ui_rasterpos_safe(4+block->minx+pnl_icons, block->maxy+5, block->aspect); + ui_rasterpos_safe(4.0f+block->minx+pnl_icons, block->maxy+5.0f, block->aspect); BIF_DrawString(block->curfont, block->panel->panelname, (U.transopts & USER_TR_BUTTONS)); return; } @@ -960,7 +960,7 @@ void ui_draw_panel(uiBlock *block) if(panel->paneltab) return; - /* if the panel is minimised vertically: + /* if the panel is minimized vertically: * (------) */ if(panel->flag & PNL_CLOSEDY) { @@ -988,7 +988,7 @@ void ui_draw_panel(uiBlock *block) } } - /* if the panel is minimised horizontally: + /* if the panel is minimized horizontally: * /-\ * | * | |