Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Riakiotakis <kalast@gmail.com>2015-08-07 16:39:32 +0300
committerAntony Riakiotakis <kalast@gmail.com>2015-08-07 16:39:32 +0300
commit9becee445ee525a7831e28567f041b4477d0c9ba (patch)
treef12d51ef9a70497903358923aa7be44009598d80 /source/blender/editors/animation/anim_ops.c
parent20bd253809ff5e45270212d0afb2c68fd346944e (diff)
Fix scrubbing only treated as animation for sequencer
Intent was to act as animation everywhere
Diffstat (limited to 'source/blender/editors/animation/anim_ops.c')
-rw-r--r--source/blender/editors/animation/anim_ops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/animation/anim_ops.c b/source/blender/editors/animation/anim_ops.c
index 835a8f86cd3..262ce0b9e23 100644
--- a/source/blender/editors/animation/anim_ops.c
+++ b/source/blender/editors/animation/anim_ops.c
@@ -147,15 +147,15 @@ static int frame_from_event(bContext *C, const wmEvent *event)
static void change_frame_seq_preview_begin(bContext *C, const wmEvent *event)
{
ScrArea *sa = CTX_wm_area(C);
+ bScreen *screen = CTX_wm_screen(C);
if (sa && sa->spacetype == SPACE_SEQ) {
- bScreen *screen = CTX_wm_screen(C);
SpaceSeq *sseq = sa->spacedata.first;
if (ED_space_sequencer_check_show_strip(sseq)) {
ED_sequencer_special_preview_set(C, event->mval);
}
- if (screen)
- screen->scrubbing = true;
}
+ if (screen)
+ screen->scrubbing = true;
}
static void change_frame_seq_preview_end(bContext *C)