diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-15 16:23:55 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-15 16:23:55 +0300 |
commit | a1e0868018150f89a9b0ca2d92122ef75ec5c119 (patch) | |
tree | 64863a3b5546fe858d7a85517dc2c689f4e50b1a /source/blender/editors/space_sound/sound_header.c | |
parent | d48f4b6012ccfc1a1da6a1a002d7c86cacbd98aa (diff) |
2.5
- depricated area "headbutofs" and "headbutlen", which is now fully
replaced with view2d handling.
- needed to add header default V2D_ALIGN_NO_NEG_Y, V2D_LOCKOFS_Y seems
to not do anything atm :)
- new: running blender in debug (blender -d) will print the current
handler and operator in use (not mousemove)
Diffstat (limited to 'source/blender/editors/space_sound/sound_header.c')
-rw-r--r-- | source/blender/editors/space_sound/sound_header.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sound/sound_header.c b/source/blender/editors/space_sound/sound_header.c index a8121fdd179..8a566de4b5a 100644 --- a/source/blender/editors/space_sound/sound_header.c +++ b/source/blender/editors/space_sound/sound_header.c @@ -123,7 +123,7 @@ void sound_header_buttons(const bContext *C, ARegion *ar) uiBlockSetEmboss(block, UI_EMBOSS); /* always as last */ - sa->headbutlen= xco+XIC+80; // +80 because the last button is not an icon + UI_view2d_totRect_set(&ar->v2d, xco+XIC+80, ar->v2d.tot.ymax-ar->v2d.tot.ymin); uiEndBlock(C, block); uiDrawBlock(block); |