Update of /cvsroot/pure-data/externals/unauthorized/pianoroll In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1599/unauthorized/pianoroll
Modified Files: pianoroll.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: pianoroll.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/pianoroll/pianoroll.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** pianoroll.c 26 Jul 2006 16:50:42 -0000 1.7 --- pianoroll.c 29 Oct 2007 18:58:45 -0000 1.8 *************** *** 265,269 **** binbuf_addv(b, "ssiissiiffiiifi", gensym("#X"),gensym("obj"), (t_int)x->x_obj.te_xpix, (t_int)x->x_obj.te_ypix, ! gensym("pianoroll"), x->x_name, x->x_width, x->x_height, x->x_pmin, x->x_pmax, x->x_nbgrades, x->x_nbsteps, --- 265,270 ---- binbuf_addv(b, "ssiissiiffiiifi", 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_name, x->x_width, x->x_height, x->x_pmin, x->x_pmax, x->x_nbgrades, x->x_nbsteps,