VSE: don't allow strip preview when clicking on the scrubbing region
Don't set 'special preview' or Solo mode if scrubbing in scrubbing region. Author: a.monti Reviewed By: Severin Differential Revision: https://developer.blender.org/D7234
This commit is contained in:
parent
0d0036cb53
commit
0e7599bc15
@ -49,6 +49,7 @@
|
|||||||
#include "ED_anim_api.h"
|
#include "ED_anim_api.h"
|
||||||
#include "ED_screen.h"
|
#include "ED_screen.h"
|
||||||
#include "ED_sequencer.h"
|
#include "ED_sequencer.h"
|
||||||
|
#include "ED_time_scrub_ui.h"
|
||||||
#include "ED_util.h"
|
#include "ED_util.h"
|
||||||
|
|
||||||
#include "DEG_depsgraph.h"
|
#include "DEG_depsgraph.h"
|
||||||
@ -155,7 +156,9 @@ static void change_frame_seq_preview_begin(bContext *C, const wmEvent *event)
|
|||||||
bScreen *screen = CTX_wm_screen(C);
|
bScreen *screen = CTX_wm_screen(C);
|
||||||
if (area && area->spacetype == SPACE_SEQ) {
|
if (area && area->spacetype == SPACE_SEQ) {
|
||||||
SpaceSeq *sseq = area->spacedata.first;
|
SpaceSeq *sseq = area->spacedata.first;
|
||||||
if (ED_space_sequencer_check_show_strip(sseq)) {
|
ARegion *region = CTX_wm_region(C);
|
||||||
|
if (ED_space_sequencer_check_show_strip(sseq) &&
|
||||||
|
!ED_time_scrub_event_in_region(region, event)) {
|
||||||
ED_sequencer_special_preview_set(C, event->mval);
|
ED_sequencer_special_preview_set(C, event->mval);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user