Fix T91662: VSE Image overlay is drawn for backdrop

Don't draw image overlay in timeline, image manipulation only works in
preview.
This commit is contained in:
Richard Antalik 2021-09-24 21:14:21 +02:00
parent b314d3e787
commit a3027fb094
Notes: blender-bot 2024-05-02 21:33:31 +02:00
Referenced by issue #91680, Selection in the 3d view is broken in build from Xcode 13
Referenced by issue #91662, VSE Transform tools: Backdrop outline
1 changed files with 7 additions and 5 deletions

View File

@ -2719,12 +2719,14 @@ void sequencer_draw_preview(const bContext *C,
sequencer_draw_borders_overlay(sseq, v2d, scene);
}
SeqCollection *collection = SEQ_query_rendered_strips(&scene->ed->seqbase, timeline_frame, 0);
Sequence *seq;
SEQ_ITERATOR_FOREACH (seq, collection) {
seq_draw_image_origin_and_outline(C, seq);
if (!draw_backdrop) {
SeqCollection *collection = SEQ_query_rendered_strips(&scene->ed->seqbase, timeline_frame, 0);
Sequence *seq;
SEQ_ITERATOR_FOREACH (seq, collection) {
seq_draw_image_origin_and_outline(C, seq);
}
SEQ_collection_free(collection);
}
SEQ_collection_free(collection);
if (draw_gpencil && show_imbuf && (sseq->flag & SEQ_SHOW_OVERLAY)) {
sequencer_draw_gpencil_overlay(C);