Update of /cvsroot/pure-data/pd/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17266
Modified Files:
Tag: desiredata
builtins.c
Log Message:
fixed other [route] bug?
Index: builtins.c
===================================================================
RCS file: /cvsroot/pure-data/pd/src/Attic/builtins.c,v
retrieving revision 1.1.2.59
retrieving revision 1.1.2.60
diff -C2 -d -r1.1.2.59 -r1.1.2.60
*** builtins.c 11 Aug 2007 06:12:15 -0000 1.1.2.59
--- builtins.c 11 Aug 2007 15:32:28 -0000 1.1.2.60
***************
*** 1422,1426 ****
if (argc && argv->a_type == A_FLOAT) {
float f = atom_getfloat(argv);
! route_eachr(e,x) if (e->a.a_type == A_FLOAT && e->a.a_float == f || e->a.a_type == A_SYMBOL && e->a.a_symbol == &s_float) {
if (argc > 1 && argv[1].a_type == A_SYMBOL)
outlet_anything(e->out, argv[1].a_symbol, argc-2, argv+2);
--- 1422,1426 ----
if (argc && argv->a_type == A_FLOAT) {
float f = atom_getfloat(argv);
! route_eachr(e,x) if (e->a.a_type == A_FLOAT && e->a.a_float == f) {
if (argc > 1 && argv[1].a_type == A_SYMBOL)
outlet_anything(e->out, argv[1].a_symbol, argc-2, argv+2);
***************
*** 1432,1435 ****
--- 1432,1437 ----
}
return;
+ } else if (e->a.a_type == A_SYMBOL && e->a.a_symbol == &s_float) {
+ outlet_float(e->out, argv[0].a_float);
}
} else { /* symbol arguments */