Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21514
Modified Files: Tag: desiredata desire.tk desire.c Log Message: added serial for #N and fixed serial for #X msg
Index: desire.tk =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.tk,v retrieving revision 1.1.2.600.2.32 retrieving revision 1.1.2.600.2.33 diff -C2 -d -r1.1.2.600.2.32 -r1.1.2.600.2.33 *** desire.tk 7 Dec 2006 02:09:05 -0000 1.1.2.600.2.32 --- desire.tk 7 Dec 2006 02:27:57 -0000 1.1.2.600.2.33 *************** *** 887,891 **** global untitled_number untitled_folder netsend "pd filename Untitled-$untitled_number $untitled_folder" ! netsend "#N canvas" netsend "#X pop 1" incr untitled_number --- 887,891 ---- global untitled_number untitled_folder netsend "pd filename Untitled-$untitled_number $untitled_folder" ! netsend "#N canvas" {none} netsend "#X pop 1" incr untitled_number
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.35 retrieving revision 1.1.2.217.2.36 diff -C2 -d -r1.1.2.217.2.35 -r1.1.2.217.2.36 *** desire.c 6 Dec 2006 03:08:18 -0000 1.1.2.217.2.35 --- desire.c 7 Dec 2006 02:27:59 -0000 1.1.2.217.2.36 *************** *** 583,588 **** x->willvis = vis; x->font = 10 /*sys_nearestfontsize(font)*/; - pd_pushsym(x); x->next_add = -1; return x; } --- 583,589 ---- x->willvis = vis; x->font = 10 /*sys_nearestfontsize(font)*/; x->next_add = -1; + pd_pushsym(x); + pd_set_newest(x); return x; } *************** *** 6112,6115 **** --- 6113,6117 ---- x->binbuf = binbuf_new(); x->canvas = gl; + pd_set_newest(x); if (argc > 1) { x->x = atom_getintarg(0, argc, argv); *************** *** 6122,6126 **** canvas_add(gl,x); } - pd_set_newest(x); }
--- 6124,6127 ----