[GRASS-SVN] r60377 - grass/branches/releasebranch_7_0/gui/wxpython/mapwin
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue May 20 08:28:13 PDT 2014
Author: annakrat
Date: 2014-05-20 08:28:13 -0700 (Tue, 20 May 2014)
New Revision: 60377
Modified:
grass/branches/releasebranch_7_0/gui/wxpython/mapwin/buffered.py
Log:
wxGUI/mapwindow: fix #2277 (merge from trunk, r60300)
Modified: grass/branches/releasebranch_7_0/gui/wxpython/mapwin/buffered.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/mapwin/buffered.py 2014-05-20 15:14:42 UTC (rev 60376)
+++ grass/branches/releasebranch_7_0/gui/wxpython/mapwin/buffered.py 2014-05-20 15:28:13 UTC (rev 60377)
@@ -1396,11 +1396,13 @@
else:
south = coordinates[1]
north = coordinatesBegin[1]
-
+
+ region = self.Map.GetRegion()
RunCommand('g.region',
- parent = self,
- n = north, s = south, e = east, w = west)
-
+ parent=self,
+ flags='a', nsres=region['nsres'], ewres=region['ewres'],
+ n=north, s=south, e=east, w=west)
+
# redraw map
self.UpdateMap(render = False)
More information about the grass-commit
mailing list