[GRASS-SVN] r56310 - grass/trunk/vector/v.extrude

svn_grass at osgeo.org svn_grass at osgeo.org
Sun May 19 03:49:03 PDT 2013


Author: martinl
Date: 2013-05-19 03:49:03 -0700 (Sun, 19 May 2013)
New Revision: 56310

Modified:
   grass/trunk/vector/v.extrude/extrude.c
Log:
v.extrude: fix min points for roof/floor


Modified: grass/trunk/vector/v.extrude/extrude.c
===================================================================
--- grass/trunk/vector/v.extrude/extrude.c	2013-05-19 10:08:31 UTC (rev 56309)
+++ grass/trunk/vector/v.extrude/extrude.c	2013-05-19 10:49:03 UTC (rev 56310)
@@ -165,7 +165,7 @@
     if (type == GV_POINT) {
 	Vect_write_line(Out, GV_LINE, Points_wall, Cats);
     }
-    else if (type == GV_AREA && Points_roof->n_points > 3) {
+    else if (type == GV_AREA && Points_roof->n_points > 2) {
         /* close roof and floor */
 	Vect_append_point(Points_roof,
 			  Points_roof->x[0], Points_roof->y[0],



More information about the grass-commit mailing list