[Gridflow-cvs] [svn] commit: r3924 - /trunk/base/flow_objects.c

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Fri Jun 20 11:00:05 EDT 2008


Author: matju
Date: Fri Jun 20 11:00:05 2008
New Revision: 3924

Log:
fixed new bug in [#draw_polygon]

Modified:
    trunk/base/flow_objects.c

Modified: trunk/base/flow_objects.c
==============================================================================
--- trunk/base/flow_objects.c (original)
+++ trunk/base/flow_objects.c Fri Jun 20 11:00:05 2008
@@ -1917,6 +1917,7 @@
 	void changed(t_symbol *s) {init_lines();}
 };
 void DrawPolygon::init_lines () {
+	if (!polygon) return;
 	int tnl = polygon->dim->get(0);
 	int nl = omit==OMIT_LAST ? tnl-1 : omit==OMIT_ODD ? (tnl+1)/2 : tnl;
 	lines=new Grid(new Dim(nl,8), int32_e);



More information about the Gridflow-cvs mailing list