From cef783f70abbbea5177ccd0d9e2d6df4a37f3033 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/ffext/; revision=8902 --- tracker/tracker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1