[Bf-blender-cvs] [3bf96758496] master: Cleanup: Remove unnecesary undefs
Richard Antalik
noreply at git.blender.org
Wed Jul 28 18:17:05 CEST 2021
Commit: 3bf96758496973c1bcf2226324552ee1b9bf95f3
Author: Richard Antalik
Date: Wed Jul 28 18:12:54 2021 +0200
Branches: master
https://developer.blender.org/rB3bf96758496973c1bcf2226324552ee1b9bf95f3
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.
===================================================================
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 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])
More information about the Bf-blender-cvs
mailing list