[PD-cvs] pd/src desire.c,1.1.2.75,1.1.2.76
chunlee
chunlee at users.sourceforge.net
Tue May 16 03:16:44 CEST 2006
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18340
Modified Files:
Tag: devel_0_39
desire.c
Log Message:
changed sys_vgui calling in pd_upload so that it also sends the number of
in/outlet to update_object in the client
also changed a bit in canvas_disconnect so that wires are now also deleted
in the server too
Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.75
retrieving revision 1.1.2.76
diff -C2 -d -r1.1.2.75 -r1.1.2.76
*** desire.c 7 May 2006 23:45:17 -0000 1.1.2.75
--- desire.c 16 May 2006 01:16:42 -0000 1.1.2.76
***************
*** 1833,1841 ****
sinkno == index2 && t.tr_inno == inno)
{
! sys_mgui(oc,"delete","");
obj_disconnect(t.tr_ob, t.tr_outno, t.tr_ob2, t.tr_inno);
break;
}
}
}
--- 1833,1842 ----
sinkno == index2 && t.tr_inno == inno)
{
! //sys_mgui(oc,"delete","");
obj_disconnect(t.tr_ob, t.tr_outno, t.tr_ob2, t.tr_inno);
break;
}
}
+ gobj_changed(x,0);
}
***************
*** 11823,11827 ****
binbuf_gettext(buf,&s,&n);
if (s[n-1]=='\n') n--;
! sys_vgui("update_object x%lx {%.*s}\n", (long)self,n,s);
sys_mgui(self,"ninlets=" ,"i", obj_ninlets((t_text *)self));
sys_mgui(self,"noutlets=","i",obj_noutlets((t_text *)self));
--- 11824,11829 ----
binbuf_gettext(buf,&s,&n);
if (s[n-1]=='\n') n--;
! //sys_vgui("update_object x%lx {%.*s}\n", (long)self,n,s);
! sys_vgui("update_object x%lx {%.*s} %d %d\n", (long)self,n,s,obj_ninlets((t_text *)self),obj_noutlets((t_text *)self));
sys_mgui(self,"ninlets=" ,"i", obj_ninlets((t_text *)self));
sys_mgui(self,"noutlets=","i",obj_noutlets((t_text *)self));
More information about the Pd-cvs
mailing list