diff options
author | Joshua Leung <aligorith@gmail.com> | 2008-12-17 13:25:02 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2008-12-17 13:25:02 +0300 |
commit | 616edcca1222c25b53c13d4da4c3af4f7a0f349a (patch) | |
tree | 7a98f01066c645fcb080e8a381f58d36bd7db585 /source/blender/editors/space_sound/space_sound.c | |
parent | c1379f6613d327a7604700007afd52e36f48080a (diff) |
View2D: Cleanup of presets and fixed errors in various views
Now, preset view configurations are only to be used if they define all (scrollers not included) relevant settings for the view they are set for. This should be less confusing than in the previous situation with V2D_COMMONVIEW_TIMELINE stuff.
One implication of this though, is that all Animation Editors (for example), will have to define their own version of the relatively commonly shared info. However, given the great diversity in the range of settings each have, this should not be too much of an issue.
Also, added a 'standard' view config for main 'window' regions. At this stage, it is recommended that this view config should be used only as a placeholder template on which a set of custom settings could be based. I've put it into use for the buttons window/scripts window/info window so far.
Diffstat (limited to 'source/blender/editors/space_sound/space_sound.c')
-rw-r--r-- | source/blender/editors/space_sound/space_sound.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_sound/space_sound.c b/source/blender/editors/space_sound/space_sound.c index e02f7f4be12..712e4f27192 100644 --- a/source/blender/editors/space_sound/space_sound.c +++ b/source/blender/editors/space_sound/space_sound.c @@ -144,7 +144,7 @@ static void sound_main_area_init(wmWindowManager *wm, ARegion *ar) { ListBase *keymap; - UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_TIMELINE, ar->winx, ar->winy); + UI_view2d_region_reinit(&ar->v2d, V2D_COMMONVIEW_CUSTOM, ar->winx, ar->winy); /* own keymap */ keymap= WM_keymap_listbase(wm, "Sound", SPACE_SOUND, 0); /* XXX weak? */ |