[GRASS-SVN] r33102 - grass/branches/develbranch_6/vector/v.extrude
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Aug 26 17:58:45 EDT 2008
Author: martinl
Date: 2008-08-26 17:58:44 -0400 (Tue, 26 Aug 2008)
New Revision: 33102
Modified:
grass/branches/develbranch_6/vector/v.extrude/main.c
Log:
v.extrude cosmetics; fix progress messages
Modified: grass/branches/develbranch_6/vector/v.extrude/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.extrude/main.c 2008-08-26 21:40:12 UTC (rev 33101)
+++ grass/branches/develbranch_6/vector/v.extrude/main.c 2008-08-26 21:58:44 UTC (rev 33102)
@@ -189,7 +189,7 @@
nelements = Vect_get_num_areas(&In);
G_debug(2, "n_areas = %d", nelements);
if (nelements > 0)
- G_verbose_message(_("Extruding areas..."));
+ G_message(_("Extruding areas..."));
for (areanum = 1; areanum <= nelements; areanum++) {
G_debug(3, "area = %d", areanum);
@@ -242,7 +242,7 @@
fdrast, trace, objheight, voffset, window, GV_AREA,
centroid);
- G_percent(areanum, nelements, 1);
+ G_percent(areanum, nelements, 2);
} /* foreach area */
@@ -253,7 +253,7 @@
i = 1;
/* loop through each line in the dataset */
nelements = Vect_get_num_lines(&In);
- G_verbose_message(_("Extruding basic vector objects..."));
+ G_message(_("Extruding vector primitives..."));
for (line = 1; line <= nelements; line++) {
/* read line */
@@ -321,13 +321,11 @@
fdrast, trace, objheight, voffset, window, type, -1);
/* progress feedback */
- G_percent(line, nelements, 1);
+ G_percent(line, nelements, 2);
} /* for each line */
} /* else if area */
- G_percent(1, 1, 1);
-
if (driver) {
db_close_database(driver);
db_shutdown_driver(driver);
More information about the grass-commit
mailing list