Update of /cvsroot/pure-data/externals/pidip/modules In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1599/pidip/modules
Modified Files: pdp_colorgrid.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: pdp_colorgrid.c =================================================================== RCS file: /cvsroot/pure-data/externals/pidip/modules/pdp_colorgrid.c,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** pdp_colorgrid.c 10 May 2007 23:01:30 -0000 1.3 --- pdp_colorgrid.c 29 Oct 2007 18:58:43 -0000 1.4 *************** *** 416,420 **** binbuf_addv(b, "ssiissiffiffiffiiff", gensym("#X"),gensym("obj"), (int)x->x_obj.te_xpix, (int)x->x_obj.te_ypix, ! gensym("pdp_colorgrid"), x->x_name, x->x_width, x->x_min, x->x_max, x->x_height, x->y_min, x->y_max, --- 416,421 ---- binbuf_addv(b, "ssiissiffiffiffiiff", 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_name, x->x_width, x->x_min, x->x_max, x->x_height, x->y_min, x->y_max,