[GRASS-SVN] r68379 - grass/trunk/raster3d/r3.neighbors
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 4 21:10:33 PDT 2016
Author: annakrat
Date: 2016-05-04 21:10:33 -0700 (Wed, 04 May 2016)
New Revision: 68379
Modified:
grass/trunk/raster3d/r3.neighbors/main.c
Log:
r3.neighbors: show progress
Modified: grass/trunk/raster3d/r3.neighbors/main.c
===================================================================
--- grass/trunk/raster3d/r3.neighbors/main.c 2016-05-04 21:03:08 UTC (rev 68378)
+++ grass/trunk/raster3d/r3.neighbors/main.c 2016-05-05 04:10:33 UTC (rev 68379)
@@ -287,6 +287,7 @@
Rast3d_fatal_error(_("Unable to allocate buffer"));
for (z = 0; z < nz; z++) {
+ G_percent(z, nz, 1);
for (y = 0; y < ny; y++) {
for (x = 0; x < nx; x++) {
/* Gather values in moving window */
@@ -302,6 +303,7 @@
}
}
}
+ G_percent(z, nz, 1);
free(buff);
More information about the grass-commit
mailing list