From 3bf96758496973c1bcf2226324552ee1b9bf95f3 Mon Sep 17 00:00:00 2001 From: Richard Antalik Date: Wed, 28 Jul 2021 18:12:54 +0200 Subject: Cleanup: Remove unnecesary undefs Macros `SEQ_ALL_END` and `SEQ_ALL_BEGIN` no longer use `seq->tmp`. Therefore they are safe to use regardless from where they are called. --- source/blender/editors/space_sequencer/sequencer_draw.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 9b63d5c4b8b..a2652d88ebf 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -102,11 +102,6 @@ #define MUTE_ALPHA 120 #define OVERLAP_ALPHA 180 -/* NOTE: Don't use SEQ_ALL_BEGIN/SEQ_ALL_END while drawing! - * it messes up transform. */ -#undef SEQ_ALL_BEGIN -#undef SEQ_ALL_END - static Sequence *special_seq_update = NULL; void color3ubv_from_seq(Scene *curscene, Sequence *seq, uchar col[3]) -- cgit v1.2.3