[Gridflow-cvs] [svn] commit: r6480 - in /trunk: ChangeLog src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sun Jan 23 16:05:16 EST 2011


Author: matju
Date: Sun Jan 23 16:05:16 2011
New Revision: 6480

Log:
fixed the bug in [route3]

Modified:
    trunk/ChangeLog
    trunk/src/classes2.cxx

Modified: trunk/ChangeLog
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Sun Jan 23 16:05:16 2011
@@ -8,6 +8,7 @@
  * x11 is now a load-time option (???????????????????????????????????????)
  * [#io.x11]: added query_pointer
  * added class [hpgl_from_patch]
+ * [route3]: fixed bug so that this class can be used for real
 
 version 9.12 (2010.10.08):
 

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sun Jan 23 16:05:16 2011
@@ -462,7 +462,7 @@
 	\decl void anything(...) {
 		t_symbol *sel = argv[1];
 		int i=0; for (i=0; i<int(sels.size()); i++) if (sel==sels[i]) break;
-		if (sel!=&s_bang && sel!=&s_float && sel!=&s_symbol && sel!=&s_pointer) sel=&s_list; // what about grid,blob ?
+		if (i<int(sels.size()) && sel!=&s_bang && sel!=&s_float && sel!=&s_symbol && sel!=&s_pointer) sel=&s_list; // what about grid,blob ?
 		out[i](sel,argc-2,argv+2);
 	}
 	\decl 1 list(...) {setsels(sels,argc,argv);}



More information about the Gridflow-cvs mailing list