Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9601
Modified Files: Tag: desiredata desire.c Log Message: brain management system error
Index: desire.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v retrieving revision 1.1.2.217.2.180 retrieving revision 1.1.2.217.2.181 diff -C2 -d -r1.1.2.217.2.180 -r1.1.2.217.2.181 *** desire.c 31 Jul 2007 18:53:35 -0000 1.1.2.217.2.180 --- desire.c 31 Jul 2007 20:07:02 -0000 1.1.2.217.2.181 *************** *** 156,160 **** t_atom argv[1]; SETFLOAT(argv,(float)dirty); ! //gobj_changed3(self,self,1,argv); /* TRACE THE DIFFERENTIAL UPLOAD REQUESTS */ }
--- 156,160 ---- t_atom argv[1]; SETFLOAT(argv,(float)dirty); ! gobj_changed3(self,self,1,argv); }
*************** *** 170,174 **** for (int i=0; i<argc; i++) s << " " << &argv[i]; //fprintf(stderr,"gobj_changed3 self=%lx origin=%lx args=%s\n",(long)self,(long)origin,s.str().data()); ! std::cerr << "gobj_changed3 self=" << self << " origin=" << origin << " args={" << s.str().data()+(!!argc) << "}\n"; if (!d) {post("gobj_changed3: no appendix in %p",self); return;} for (int i=0; i<d->nobs; i++) { --- 170,175 ---- for (int i=0; i<argc; i++) s << " " << &argv[i]; //fprintf(stderr,"gobj_changed3 self=%lx origin=%lx args=%s\n",(long)self,(long)origin,s.str().data()); ! /* TRACE THE DIFFERENTIAL UPLOAD REQUESTS */ ! //std::cerr << "gobj_changed3 self=" << self << " origin=" << origin << " args={" << s.str().data()+(!!argc) << "}\n"; if (!d) {post("gobj_changed3: no appendix in %p",self); return;} for (int i=0; i<d->nobs; i++) { *************** *** 196,200 **** }
! //#define DEBUG_QUEUE
static void pd_print (t_pd *self, char *header) { --- 197,201 ---- }
! #define DEBUG_QUEUE
static void pd_print (t_pd *self, char *header) { *************** *** 310,313 **** --- 311,315 ----
void manager_notice (t_gobj *self_, t_gobj *origin, int argc, t_atom *argv) { + pd_print(origin,"manager_notice"); t_manager *self = (t_manager *)self_; if (!self->dirty->exists(origin)) { *************** *** 637,643 **** gobj_changed(x,0); canvas_each(y,x) { ! if (y->_class==canvas_class) { ! canvas_redraw((t_canvas *)y); ! } else gobj_changed(y,0); } } --- 639,643 ---- gobj_changed(x,0); canvas_each(y,x) { ! if (y->_class==canvas_class) canvas_redraw((t_canvas *)y); else gobj_changed(y,0); } }