Update of /cvsroot/pure-data/externals/pdvjtools/videogrid In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1599/pdvjtools/videogrid
Modified Files: videogrid.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: videogrid.c =================================================================== RCS file: /cvsroot/pure-data/externals/pdvjtools/videogrid/videogrid.c,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** videogrid.c 24 Oct 2007 20:37:21 -0000 1.1.1.1 --- videogrid.c 29 Oct 2007 18:58:43 -0000 1.2 *************** *** 585,589 **** binbuf_addv(b, "ssiissiisss", gensym("#X"),gensym("obj"), x->x_obj.te_xpix, x->x_obj.te_ypix, ! gensym("videogrid"),x->x_name,x->x_num_fil,x->x_num_col,x->x_color_fons,x->x_color_marc,gensym(cadenaPathsInicials)); binbuf_addv(b, ";"); } --- 585,590 ---- binbuf_addv(b, "ssiissiisss", gensym("#X"),gensym("obj"), x->x_obj.te_xpix, x->x_obj.te_ypix, ! atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)), ! x->x_name,x->x_num_fil,x->x_num_col,x->x_color_fons,x->x_color_marc,gensym(cadenaPathsInicials)); binbuf_addv(b, ";"); }