diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-10-29 18:58:45 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2007-10-29 18:58:45 +0000 |
commit | 88923be907188c31e4bcab5e2d9fcfa5754a8bfb (patch) | |
tree | 320735477eda59c95a0ba2e8c3b7c14e01004630 /grid | |
parent | de0a11880fc40b58372eb63cf6cf243aa685157a (diff) |
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/unauthorized/; revision=8902
Diffstat (limited to 'grid')
-rw-r--r-- | grid/grid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/grid/grid.c b/grid/grid.c index f3317b4..4db389f 100644 --- a/grid/grid.c +++ b/grid/grid.c @@ -276,7 +276,8 @@ static void grid_save(t_gobj *z, t_binbuf *b) // post( "saving grid : %s", x->x_name->s_name ); 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, + 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, x->x_grid, x->x_xstep, |