Update of /cvsroot/pure-data/externals/unauthorized/audience~ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1599/unauthorized/audience~
Modified Files: audience~.c Log Message:
Following this thread:
http://lists.puredata.info/pipermail/pd-dev/2007-10/009797.html
I have changed the save functions so that they will save the name of the object that it was actually instantiated with. This allows objects with savefns to work properly with namespaces.
This is a fix for this bug: http://sourceforge.net/tracker/index.php?&aid=1818219&group_id=55736...
Index: audience~.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/audience~/audience~.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** audience~.c 26 Jul 2006 16:42:34 -0000 1.7 --- audience~.c 29 Oct 2007 18:58:43 -0000 1.8 *************** *** 368,373 **** binbuf_addv(b, "ssiisiiiifi", gensym("#X"),gensym("obj"), (t_int)x->x_obj.te_xpix, (t_int)x->x_obj.te_ypix, ! gensym("audience~"), x->x_width, x->x_height, ! x->x_nbinputs, x->x_nboutputs, x->x_attenuation, x->x_applydelay ); for ( ii=0; ii<x->x_nbinputs; ii++ ) { --- 368,374 ---- binbuf_addv(b, "ssiisiiiifi", gensym("#X"),gensym("obj"), (t_int)x->x_obj.te_xpix, (t_int)x->x_obj.te_ypix, ! atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)), ! x->x_width, x->x_height, ! x->x_nbinputs, x->x_nboutputs, x->x_attenuation, x->x_applydelay ); for ( ii=0; ii<x->x_nbinputs; ii++ ) {