Update of /cvsroot/pure-data/externals/unauthorized/grid In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1599/unauthorized/grid
Modified Files: grid.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: grid.c =================================================================== RCS file: /cvsroot/pure-data/externals/unauthorized/grid/grid.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** grid.c 1 Sep 2006 16:28:00 -0000 1.10 --- grid.c 29 Oct 2007 18:58:45 -0000 1.11 *************** *** 277,281 **** binbuf_addv(b, "ssiissiffiffiffiiff", gensym("#X"),gensym("obj"), (t_int)x->x_obj.te_xpix, (t_int)x->x_obj.te_ypix, ! gensym("grid"), x->x_name, x->x_width, x->x_min, x->x_max, x->x_height, x->y_min, x->y_max, --- 277,282 ---- binbuf_addv(b, "ssiissiffiffiffiiff", 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_min, x->x_max, x->x_height, x->y_min, x->y_max,