aboutsummaryrefslogtreecommitdiff
path: root/src/paramRoute.h
diff options
context:
space:
mode:
authorThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-23 13:46:24 +0000
committerThomas O Fredericks <mrtof@users.sourceforge.net>2009-10-23 13:46:24 +0000
commit761af5cdd6f924577f0fc6af351039d2c35dcb7b (patch)
treec880ce57c38cbe08bdc542c6565e0eecc352fd2a /src/paramRoute.h
parent6a5c6a517019456eb945c64a340c4c4509570dd1 (diff)
Modified paramRoutes behavior with a bad message
svn path=/trunk/externals/tof/; revision=12651
Diffstat (limited to 'src/paramRoute.h')
-rw-r--r--src/paramRoute.h7
1 files changed, 5 insertions, 2 deletions
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"));
+
}