diff options
author | Ton Roosendaal <ton@blender.org> | 2013-04-30 19:17:20 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2013-04-30 19:17:20 +0400 |
commit | 7a0bdbc55016d287278b6818f26dc096eeb9c098 (patch) | |
tree | d5344c289cb834f8b0b5487ecb6d822b3ec97a8f /source | |
parent | bb89b523e7ecc7d178f5feeb2cca0754dd7f62e3 (diff) |
Bug fix #35151
NLA editor: the channel list and the main area were not perfectly aligned, and could
jump a bit around. Easy fix.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/space_nla/space_nla.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/editors/space_nla/space_nla.c b/source/blender/editors/space_nla/space_nla.c index ccf60000993..d0773bfe818 100644 --- a/source/blender/editors/space_nla/space_nla.c +++ b/source/blender/editors/space_nla/space_nla.c @@ -206,6 +206,9 @@ static void nla_channel_area_init(wmWindowManager *wm, ARegion *ar) { wmKeyMap *keymap; + /* ensure the 2d view sync works - main region has bottom scroller */ + ar->v2d.scroll = V2D_SCROLL_BOTTOM; + UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_LIST, ar->winx, ar->winy); /* own keymap */ |