[Gridflow-cvs] [svn] commit: r5197 - /trunk/src/classes2.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Sat Mar 27 20:56:17 EDT 2010


Author: matju
Date: Sat Mar 27 20:56:17 2010
New Revision: 5197

Log:
fix the index bug in [gf/canvas_loadbang]

Modified:
    trunk/src/classes2.cxx

Modified: trunk/src/classes2.cxx
==============================================================================
--- trunk/src/classes2.cxx (original)
+++ trunk/src/classes2.cxx Sat Mar 27 20:56:17 2010
@@ -1195,8 +1195,8 @@
 	\decl 0 float (float z) {MOM;
 		int k=0;
 		canvas_each(y,m) {
+			if (k>=z && pd_class((t_pd *)y)==canvas_class) canvas_loadbang((t_canvas *)y);
 			k++;
-			if (k>=z && pd_class((t_pd *)y)==canvas_class) canvas_loadbang((t_canvas *)y);
 		}
 	}
 };



More information about the Gridflow-cvs mailing list