From 99ded01b64a5eb1d6b190ae5a64b70fcfe4347d4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 10 Nov 2014 19:39:20 +0100 Subject: Sequencer: undefine SEQ_BEGIN/SEQ_END (see comment) --- source/blender/editors/space_sequencer/sequencer_draw.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/blender/editors/space_sequencer/sequencer_draw.c b/source/blender/editors/space_sequencer/sequencer_draw.c index 1eb61f4bfd7..3ca74a75398 100644 --- a/source/blender/editors/space_sequencer/sequencer_draw.c +++ b/source/blender/editors/space_sequencer/sequencer_draw.c @@ -82,6 +82,10 @@ /* Note, Don't use SEQ_BEGIN/SEQ_END while drawing! * it messes up transform, - Campbell */ +#undef SEQ_BEGIN +#undef SEQP_BEGIN +#undef SEQ_END + static void draw_shadedstrip(Sequence *seq, unsigned char col[3], float x1, float y1, float x2, float y2); static void get_seq_color3ubv(Scene *curscene, Sequence *seq, unsigned char col[3]) -- cgit v1.2.3