[PD-cvs] pd/src desire.c,1.1.2.217.2.56,1.1.2.217.2.57
Mathieu Bouchard
matju at users.sourceforge.net
Wed Dec 13 02:33:03 CET 2006
Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30956
Modified Files:
Tag: desiredata
desire.c
Log Message:
update_object: don't send ninlets and noutlets for non-patchables (wires and scalars)
Index: desire.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/desire.c,v
retrieving revision 1.1.2.217.2.56
retrieving revision 1.1.2.217.2.57
diff -C2 -d -r1.1.2.217.2.56 -r1.1.2.217.2.57
*** desire.c 13 Dec 2006 01:08:09 -0000 1.1.2.217.2.56
--- desire.c 13 Dec 2006 01:32:58 -0000 1.1.2.217.2.57
***************
*** 6655,6661 ****
binbuf_gettext(b,&s,&n);
if (s[n-1]=='\n') n--;
! sys_vgui("update_object x%lx {%.*s} %d %d\n",(long)self,n,s,
! obj_ninlets((t_text *)self),
! obj_noutlets((t_text *)self));
binbuf_free(b);
free(s);
--- 6655,6665 ----
binbuf_gettext(b,&s,&n);
if (s[n-1]=='\n') n--;
! if (c->c_patchable) {
! sys_vgui("update_object x%lx {%.*s} %d %d\n",(long)self,n,s,
! obj_ninlets((t_text *)self),
! obj_noutlets((t_text *)self));
! } else {
! sys_vgui("update_object x%lx {%.*s}\n",(long)self,n,s);
! }
binbuf_free(b);
free(s);
More information about the Pd-cvs
mailing list