[PD-cvs] externals/miXed/shared/unstable fringe.c,1.1,1.2
Krzysztof Czaja
krzyszcz at users.sourceforge.net
Mon Mar 29 19:09:55 CEST 2004
Update of /cvsroot/pure-data/externals/miXed/shared/unstable
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv597/shared/unstable
Modified Files:
fringe.c
Log Message:
toxy alpha10
Index: fringe.c
===================================================================
RCS file: /cvsroot/pure-data/externals/miXed/shared/unstable/fringe.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fringe.c 19 Sep 2003 12:19:32 -0000 1.1
--- fringe.c 29 Mar 2004 17:09:53 -0000 1.2
***************
*** 10,13 ****
--- 10,15 ----
#include "unstable/fringe.h"
+ //#define FRINGE_DEBUG
+
static int gobj_getindex(t_glist *gl, t_gobj *ob)
{
***************
*** 58,62 ****
gobj_getindex(gl, (t_gobj *)lt.tr_ob2), lt.tr_inno);
}
! #if 0
post("packed connections:");
binbuf_print(bb);
--- 60,64 ----
gobj_getindex(gl, (t_gobj *)lt.tr_ob2), lt.tr_inno);
}
! #ifdef FRINGE_DEBUG
post("packed connections:");
binbuf_print(bb);
***************
*** 66,72 ****
static void gobj_restoreconnections(t_glist *gl, t_binbuf *bb)
{
! pd_bind((t_pd *)gl, gensym("#X"));
binbuf_eval(bb, 0, 0, 0);
! pd_unbind((t_pd *)gl, gensym("#X"));
}
--- 68,78 ----
static void gobj_restoreconnections(t_glist *gl, t_binbuf *bb)
{
! #ifdef FRINGE_DEBUG
! post("restoring connections:");
! binbuf_print(bb);
! #endif
! canvas_setcurrent(gl);
binbuf_eval(bb, 0, 0, 0);
! canvas_unsetcurrent(gl);
}
More information about the Pd-cvs
mailing list