diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-19 17:12:54 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-19 17:12:54 +0400 |
commit | 1d48c8db7f2431588e3328703680226eb0b17af8 (patch) | |
tree | 602b03d1a5420730970bbf556565976c3d301fc7 /source/blender/editors/space_sequencer | |
parent | 9d3b1f708fb6aae37fbdcf528804ab11b3b8e2f3 (diff) |
Sequencer: switching to preview mode works fine again
Diffstat (limited to 'source/blender/editors/space_sequencer')
-rw-r--r-- | source/blender/editors/space_sequencer/space_sequencer.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/editors/space_sequencer/space_sequencer.c b/source/blender/editors/space_sequencer/space_sequencer.c index 5a0369ef80b..5c2013ee863 100644 --- a/source/blender/editors/space_sequencer/space_sequencer.c +++ b/source/blender/editors/space_sequencer/space_sequencer.c @@ -223,11 +223,11 @@ static void sequencer_refresh(const bContext *C, ScrArea *sa) WM_event_remove_handlers((bContext*)C, &ar_preview->handlers); view_changed= 1; } - if (ar_main && ar_main->alignment != RGN_ALIGN_TOP) { + if (ar_main && ar_main->alignment != RGN_ALIGN_NONE) { ar_main->alignment= RGN_ALIGN_NONE; view_changed= 1; } - if (ar_preview && ar_preview->alignment != RGN_ALIGN_TOP) { + if (ar_preview && ar_preview->alignment != RGN_ALIGN_NONE) { ar_preview->alignment= RGN_ALIGN_NONE; view_changed= 1; } @@ -245,11 +245,11 @@ static void sequencer_refresh(const bContext *C, ScrArea *sa) ar_preview->v2d.cur = ar_preview->v2d.tot; view_changed= 1; } - if (ar_main && ar_main->alignment != RGN_ALIGN_TOP) { + if (ar_main && ar_main->alignment != RGN_ALIGN_NONE) { ar_main->alignment= RGN_ALIGN_NONE; view_changed= 1; } - if (ar_preview && ar_preview->alignment != RGN_ALIGN_TOP) { + if (ar_preview && ar_preview->alignment != RGN_ALIGN_NONE) { ar_preview->alignment= RGN_ALIGN_NONE; view_changed= 1; } @@ -266,7 +266,7 @@ static void sequencer_refresh(const bContext *C, ScrArea *sa) ar_preview->v2d.cur = ar_preview->v2d.tot; view_changed= 1; } - if (ar_main && ar_main->alignment != RGN_ALIGN_TOP) { + if (ar_main && ar_main->alignment != RGN_ALIGN_NONE) { ar_main->alignment= RGN_ALIGN_NONE; view_changed= 1; } |