[Bf-blender-cvs] [907cdb710cf] temp-vse-preview-transform2: Fix drawing outline when using scope view.
Richard Antalik
noreply at git.blender.org
Fri Sep 17 11:44:08 CEST 2021
Commit: 907cdb710cfb1ad477226f2a3854b3896ec04c6c
Author: Richard Antalik
Date: Fri Sep 17 11:39:15 2021 +0200
Branches: temp-vse-preview-transform2
https://developer.blender.org/rB907cdb710cfb1ad477226f2a3854b3896ec04c6c
Fix drawing outline when using scope view.
===================================================================
M source/blender/editors/space_sequencer/sequencer_draw.c
===================================================================
diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c
index 5dabcb094fc..2c28d5a094e 100644
--- a/source/blender/editors/space_sequencer/sequencer_draw.c
+++ b/source/blender/editors/space_sequencer/sequencer_draw.c
@@ -2061,6 +2061,9 @@ static void seq_draw_image_origin_and_outline(const bContext *C, Sequence *seq)
(sseq->flag & SEQ_SHOW_OUTLINE_SELECTED) == 0) {
return;
}
+ if (ELEM(sseq->mainb, SEQ_DRAW_IMG_WAVEFORM, SEQ_DRAW_IMG_VECTORSCOPE, SEQ_DRAW_IMG_HISTOGRAM)) {
+ return;
+ }
float origin[2];
SEQ_image_transform_origin_offset_pixelspace_get(CTX_data_scene(C), seq, origin);
More information about the Bf-blender-cvs
mailing list