[Gridflow-cvs] [svn] commit: r6206 - /trunk/src/classes3.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Fri Aug 27 12:20:25 EDT 2010


Author: matju
Date: Fri Aug 27 12:20:23 2010
New Revision: 6206

Log:
[#tabwrite]: garray_redraw seulement lors de GRID_FINISH, pour éviter les répétitions inutiles (?)

Modified:
    trunk/src/classes3.cxx

Modified: trunk/src/classes3.cxx
==============================================================================
--- trunk/src/classes3.cxx (original)
+++ trunk/src/classes3.cxx Fri Aug 27 12:20:23 2010
@@ -1462,6 +1462,8 @@
 		// % is correct because i>=0 and it's faster than mod().
 		vec[n].w_float = data[i%nval];
 	}
+} GRID_FINISH {
+	t_garray *a = (t_garray *)pd_findbyclass(t, garray_class); if (!a) RAISE("%s: no such array", t->s_name);
 	garray_redraw(a);
 } GRID_END
 



More information about the Gridflow-cvs mailing list