aboutsummaryrefslogtreecommitdiff
path: root/cyclone/sickle
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-10-29 18:58:45 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-10-29 18:58:45 +0000
commite6812c77e47416a3152506865324deafcda64f3a (patch)
tree1b089bd1131084db6507455ce470c950e64d8b0d /cyclone/sickle
parent6c38d4c61b0eb5a539d0c668f524fe1a66643a68 (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/miXed/; revision=8902
Diffstat (limited to 'cyclone/sickle')
-rw-r--r--cyclone/sickle/Scope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cyclone/sickle/Scope.c b/cyclone/sickle/Scope.c
index 4668afe..eb13a48 100644
--- a/cyclone/sickle/Scope.c
+++ b/cyclone/sickle/Scope.c
@@ -842,7 +842,7 @@ static void scope_save(t_gobj *z, t_binbuf *b)
t_text *t = (t_text *)x;
binbuf_addv(b, "ssiisiiiiiffififiiiiiii;", gensym("#X"), gensym("obj"),
(int)t->te_xpix, (int)t->te_ypix,
- gensym("Scope~"),
+ atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)),
x->x_width, x->x_height, x->x_period, 3, x->x_bufsize,
x->x_minval, x->x_maxval, x->x_delay, 0.,
x->x_trigmode, x->x_triglevel,