Update of /cvsroot/pure-data/externals/footils/knob In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1599/footils/knob
Modified Files: knob.c Log Message:
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...
Index: knob.c =================================================================== RCS file: /cvsroot/pure-data/externals/footils/knob/knob.c,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** knob.c 2 Feb 2007 01:37:06 -0000 1.7 --- knob.c 29 Oct 2007 18:58:42 -0000 1.8 *************** *** 320,324 **** binbuf_addv(b, "ssiisiiffiisssiiiiiiiii", gensym("#X"),gensym("obj"), (t_int)x->x_gui.x_obj.te_xpix, (t_int)x->x_gui.x_obj.te_ypix, ! gensym("knob"), x->x_gui.x_h, x->x_gui.x_h, (float)x->x_min, (float)x->x_max, x->x_lin0_log1, (*ip1)&IEM_INIT_ARGS_ALL, --- 320,325 ---- binbuf_addv(b, "ssiisiiffiisssiiiiiiiii", gensym("#X"),gensym("obj"), (t_int)x->x_gui.x_obj.te_xpix, (t_int)x->x_gui.x_obj.te_ypix, ! atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)), ! x->x_gui.x_h, x->x_gui.x_h, (float)x->x_min, (float)x->x_max, x->x_lin0_log1, (*ip1)&IEM_INIT_ARGS_ALL,