Forráskód Böngészése

v.extrude: fix min points for roof/floor

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@56310 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 éve
szülő
commit
7c72c68be9
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      vector/v.extrude/extrude.c

+ 1 - 1
vector/v.extrude/extrude.c

@@ -165,7 +165,7 @@ int extrude(struct Map_info *In, struct Map_info *Out,
     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],