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 | cef783f70abbbea5177ccd0d9e2d6df4a37f3033 (patch) | |
tree | 0a99097279f845d3bb8a2c638c85f70e4ee2e54e | |
parent | 4bd06fbe95579ec9a31797ba05ceb3c3e305a857 (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/ffext/; revision=8902
-rw-r--r-- | tracker/tracker.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker/tracker.c b/tracker/tracker.c index b5a4b94..69a2864 100644 --- a/tracker/tracker.c +++ b/tracker/tracker.c @@ -195,7 +195,7 @@ static void tracker_save(t_gobj* z, t_binbuf* b) { binbuf_addv(b, "ssiis", gensym("#X"), gensym("obj"), (t_int)x->x_obj.te_xpix, (t_int)x->x_obj.te_ypix, - gensym("tracker")); + atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf))); if(x->b_save_data) { int ei,gi; |