Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16531
Modified Files:
Tag: desiredata
desire.c
Log Message:
fixed text_setto
Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.234
retrieving revision 1.1.2.217.2.235
diff -C2 -d -r1.1.2.217.2.234 -r1.1.2.217.2.235
*** desire.c 20 Aug 2007 04:55:30 -0000 1.1.2.217.2.234
--- desire.c 21 Aug 2007 19:50:25 -0000 1.1.2.217.2.235
***************
*** 135,143 ****
t_object *o = (t_object *)origin;
t_canvas *c = self->canvas;
if (c->goprect) {
if (!inside(o->x, c->xmargin, c->xmargin + c->pixwidth )) return;
if (!inside(o->y, c->ymargin, c->ymargin + c->pixheight)) return;
- } else {
-
}
gobj_changed3(self,origin,argc,argv);
--- 135,142 ----
t_object *o = (t_object *)origin;
t_canvas *c = self->canvas;
+ if (0/* check for messagebox, comment, but you can't check for objectboxes in general */) return;
if (c->goprect) {
if (!inside(o->x, c->xmargin, c->xmargin + c->pixwidth )) return;
if (!inside(o->y, c->ymargin, c->ymargin + c->pixheight)) return;
}
gobj_changed3(self,origin,argc,argv);
***************
*** 5255,5259 ****
x->x = xpix;
x->y = ypix;
! canvas_add(gl,x);
if (x->_class== vinlet_class) canvas_resortinlets(canvas_getcanvas(gl));
if (x->_class==voutlet_class) canvas_resortoutlets(canvas_getcanvas(gl));
--- 5254,5258 ----
x->x = xpix;
x->y = ypix;
! canvas_add(gl,x,index);
if (x->_class== vinlet_class) canvas_resortinlets(canvas_getcanvas(gl));
if (x->_class==voutlet_class) canvas_resortoutlets(canvas_getcanvas(gl));
***************
*** 5534,5537 ****
--- 5533,5537 ----
canvas_objtext(canvas,xwas,ywas,b,backupi);
t_pd *backup = newest;
+ post("backupi=%d newest->index=%d",backupi,((t_object *)newest)->dix->index);
if (newest && pd_class(newest) == canvas_class) canvas_loadbang((t_canvas *)newest);
canvas_paste_wires(canvas_getcanvas(canvas), buf);