diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-10-31 11:37:45 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2007-10-31 11:37:45 +0000 |
commit | 2407b8a61f848ad42957f73666e891b6af5f0e57 (patch) | |
tree | be1fadbdebc5e7627f18ee3e10662e88728d0bdd /src/cube_sphere.c | |
parent | 2668f5a5067a8f7afa4f0ab7cbea9cada9038035 (diff) |
query the objects real name instead of assuming that you already know it
svn path=/trunk/externals/iem/iemgui/; revision=8917
Diffstat (limited to 'src/cube_sphere.c')
-rw-r--r-- | src/cube_sphere.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cube_sphere.c b/src/cube_sphere.c index ed38b7a..9c65984 100644 --- a/src/cube_sphere.c +++ b/src/cube_sphere.c @@ -261,7 +261,8 @@ static void cube_sphere_save(t_gobj *z, t_binbuf *b) int i, j, c, n=x->x_n_src; binbuf_addv(b, "ssiis", gensym("#X"),gensym("obj"), - (t_int)x->x_gui.x_obj.te_xpix, (t_int)x->x_gui.x_obj.te_ypix, gensym("cube_sphere")); + (t_int)x->x_gui.x_obj.te_xpix, (t_int)x->x_gui.x_obj.te_ypix, + atom_getsymbol(binbuf_getvec(x->x_gui.x_obj.te_binbuf))); if(x->x_null) binbuf_addv(b, "iii", 0, x->x_radius, x->x_fontsize); else |