[Bf-blender-cvs] [99ded01] master: Sequencer: undefine SEQ_BEGIN/SEQ_END (see comment)

Campbell Barton noreply at git.blender.org
Mon Nov 10 19:39:50 CET 2014


Commit: 99ded01b64a5eb1d6b190ae5a64b70fcfe4347d4
Author: Campbell Barton
Date:   Mon Nov 10 19:39:20 2014 +0100
Branches: master
https://developer.blender.org/rB99ded01b64a5eb1d6b190ae5a64b70fcfe4347d4

Sequencer: undefine SEQ_BEGIN/SEQ_END (see comment)

===================================================================

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 1eb61f4..3ca74a7 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])




More information about the Bf-blender-cvs mailing list