Update of /cvsroot/pure-data/externals/unauthorized/cooled~ In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1599/unauthorized/cooled~
Modified Files: cooled~.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: cooled~.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/cooled~/cooled~.c,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** cooled~.c 26 Jul 2006 16:44:53 -0000 1.12 --- cooled~.c 29 Oct 2007 18:58:43 -0000 1.13 *************** *** 593,597 **** binbuf_addv(b, "ssiisiiii", gensym("#X"),gensym("obj"), (int)x->x_obj.te_xpix, (int)x->x_obj.te_ypix, ! gensym("cooled~"), x->x_size, x->x_width, x->x_height, x->x_draw ); binbuf_addv(b, ";"); } --- 593,598 ---- binbuf_addv(b, "ssiisiiii", gensym("#X"),gensym("obj"), (int)x->x_obj.te_xpix, (int)x->x_obj.te_ypix, ! atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)), ! x->x_size, x->x_width, x->x_height, x->x_draw ); binbuf_addv(b, ";"); }