[GRASS-SVN] r48032 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 1 11:01:02 EDT 2011


Author: mmetz
Date: 2011-09-01 08:01:02 -0700 (Thu, 01 Sep 2011)
New Revision: 48032

Modified:
   grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
Log:
BufferedWindow has no region

Modified: grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py	2011-09-01 13:58:58 UTC (rev 48031)
+++ grass/trunk/gui/wxpython/gui_modules/mapdisp_window.py	2011-09-01 15:01:02 UTC (rev 48032)
@@ -1637,8 +1637,8 @@
         if newreg != {}:
             # LL locations
             if self.parent.Map.projinfo['proj'] == 'll':
-                self.region['n'] = min(self.region['n'], 90.0)
-                self.region['s'] = max(self.region['s'], -90.0)
+                self.Map.region['n'] = min(self.Map.region['n'], 90.0)
+                self.Map.region['s'] = max(self.Map.region['s'], -90.0)
             
             ce = newreg['w'] + (newreg['e'] - newreg['w']) / 2
             cn = newreg['s'] + (newreg['n'] - newreg['s']) / 2



More information about the grass-commit mailing list