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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 2 07:58:35 EDT 2011


Author: martinl
Date: 2011-08-02 04:58:35 -0700 (Tue, 02 Aug 2011)
New Revision: 47349

Modified:
   grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py
Log:
wxNviz: use comp. resolution


Modified: grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py	2011-08-02 11:55:05 UTC (rev 47348)
+++ grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py	2011-08-02 11:58:35 UTC (rev 47349)
@@ -122,7 +122,7 @@
             logerr = sys.stderr
         
         # create nviz instance - use display region instead of computational
-        os.environ['GRASS_REGION'] = self.Map.SetRegion()
+        os.environ['GRASS_REGION'] = self.Map.SetRegion(windres = True)
         
         self.nvizThread = NvizThread(logerr,
                                      self.parent.statusbarWin['progress'],



More information about the grass-commit mailing list