[Gridflow-cvs] [svn] commit: r6138 - /trunk/src/gridflow.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Aug 15 19:59:21 EDT 2010


Author: matju
Date: Sun Aug 15 19:59:21 2010
New Revision: 6138

Log:
default list only in inlet 0 !

Modified:
    trunk/src/gridflow.cxx

Modified: trunk/src/gridflow.cxx
==============================================================================
--- trunk/src/gridflow.cxx (original)
+++ trunk/src/gridflow.cxx Sun Aug 15 19:59:21 2010
@@ -579,7 +579,7 @@
 		if (argv[2].a_type==A_FLOAT)   {m=method_lookup(bself,winlet,&s_float  ); if(m){m(self,argc,argv+2); return;}}
 		if (argv[2].a_type==A_SYMBOL)  {m=method_lookup(bself,winlet,&s_symbol ); if(m){m(self,argc,argv+2); return;}}
 		if (argv[2].a_type==A_POINTER) {m=method_lookup(bself,winlet,&s_pointer); if(m){m(self,argc,argv+2); return;}}
-	    } else {
+	    } else if (winlet==0) {
 		for (int i=argc-1; i>=0; i--) { // not exactly same order as pd's obj_list...
 		    if (argv[2+i].a_type==A_FLOAT)   BFObject_anything(bself,i,&s_float  ,1,argv+2+i);
 		    if (argv[2+i].a_type==A_SYMBOL)  BFObject_anything(bself,i,&s_symbol ,1,argv+2+i);



More information about the Gridflow-cvs mailing list