[GRASS-SVN] r46247 - grass/trunk/raster/r.resamp.bspline
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu May 12 11:39:52 EDT 2011
Author: mmetz
Date: 2011-05-12 08:39:52 -0700 (Thu, 12 May 2011)
New Revision: 46247
Modified:
grass/trunk/raster/r.resamp.bspline/main.c
Log:
fix G/Rast_set_window()
Modified: grass/trunk/raster/r.resamp.bspline/main.c
===================================================================
--- grass/trunk/raster/r.resamp.bspline/main.c 2011-05-12 13:41:17 UTC (rev 46246)
+++ grass/trunk/raster/r.resamp.bspline/main.c 2011-05-12 15:39:52 UTC (rev 46247)
@@ -254,7 +254,7 @@
/* switch to buffered input raster window */
G_set_window(&src_reg);
- /* Rast_set_window(&src_reg); */
+ Rast_set_window(&src_reg);
G_debug(1, "new source north %f", src_reg.north);
G_debug(1, "new source south %f", src_reg.south);
@@ -303,7 +303,7 @@
/* switch back to destination = current window */
G_set_window(&dest_reg);
- /* Rast_set_window(&dest_reg); */
+ Rast_set_window(&dest_reg);
nrows = Rast_window_rows();
ncols = Rast_window_cols();
More information about the grass-commit
mailing list