From bbf416fbd1a443b13d6285728a354fbeda3004ac Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Mon, 29 Oct 2007 18:58:45 +0000 Subject: 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&atid=478070 svn path=/trunk/externals/pdvjtools/; revision=8902 --- imagegrid/imagegrid.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'imagegrid') diff --git a/imagegrid/imagegrid.c b/imagegrid/imagegrid.c index 8d1c213..d250b41 100644 --- a/imagegrid/imagegrid.c +++ b/imagegrid/imagegrid.c @@ -580,7 +580,8 @@ static void imagegrid_save(t_gobj *z, t_binbuf *b) binbuf_addv(b, "ssiissiisss", gensym("#X"),gensym("obj"), x->x_obj.te_xpix, x->x_obj.te_ypix, - gensym("imagegrid"),x->x_name,x->x_num_fil,x->x_num_col,x->x_color_fons,x->x_color_marc,gensym(cadenaPathsInicials)); + 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, ";"); } -- cgit v1.2.1