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:
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
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue