[Gridflow-cvs] [svn] commit: r3648 - /trunk/gridflow.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Apr 25 11:40:55 EDT 2008


Author: matju
Date: Fri Apr 25 11:40:55 2008
New Revision: 3648

Log:
fixed recent bug that disabled 'anything'.

Modified:
    trunk/gridflow.c

Modified: trunk/gridflow.c
==============================================================================
--- trunk/gridflow.c (original)
+++ trunk/gridflow.c Fri Apr 25 11:40:55 2008
@@ -539,10 +539,10 @@
 		sprintf(buf,"_%d_%s",winlet,selector->s_name);
 		if (funcall_lookup(bself,buf)) {
 			funcall_rescue(bself,buf,argc,argv+1);
-		} else if (funcall_lookup(bself,buf)) {
+		} else if (funcall_lookup(bself,"anything")) {
 			SETSYMBOL(argv+0,gensym(buf));
 			funcall_rescue(bself,"anything",argc+1,argv);
-		} else pd_error((t_pd *)bself, "method '%s' not found in class '%s'",selector->s_name,pd_classname(bself));
+		} else pd_error((t_pd *)bself, "method '%s' not found for inlet %d in class '%s'",selector->s_name,winlet,pd_classname(bself));
 	}
     } catch (Barf *oozy) {pd_error(bself,"%s",oozy->text);}
 }



More information about the Gridflow-cvs mailing list