From 761af5cdd6f924577f0fc6af351039d2c35dcb7b Mon Sep 17 00:00:00 2001 From: Thomas O Fredericks Date: Fri, 23 Oct 2009 13:46:24 +0000 Subject: Modified paramRoutes behavior with a bad message svn path=/trunk/externals/tof/; revision=12651 --- src/paramRoute.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/paramRoute.h') diff --git a/src/paramRoute.h b/src/paramRoute.h index f284c29..a17d1a9 100644 --- a/src/paramRoute.h +++ b/src/paramRoute.h @@ -62,7 +62,8 @@ static void paramRoute_anything(t_paramRoute *x, t_symbol *s, int ac, t_atom *av outlet_anything(x->x_outlet,path,ac,av); } } else { - pd_error(x,"Target name must start with a \"/\""); + outlet_anything(x->x_outlet,path,ac,av); + //pd_error(x,"Target name must start with a \"/\""); } } @@ -101,10 +102,12 @@ static void *paramRoute_new(t_symbol *s, int ac, t_atom *av) { } void paramRoute_setup(void) { - paramRoute_class = class_new(gensym("paramRoute"), + paramRoute_class = class_new(gensym("param route"), (t_newmethod)paramRoute_new, (t_method)paramRoute_free, sizeof(t_paramRoute), 0, A_GIMME, 0); class_addanything(paramRoute_class, paramRoute_anything); + class_sethelpsymbol(paramRoute_class, gensym("param")); + } -- cgit v1.2.1