Przeglądaj źródła

wxNviz: use comp. resolution

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@47349 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 lat temu
rodzic
commit
d42a0b7870
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      gui/wxpython/gui_modules/nviz_mapdisp.py

+ 1 - 1
gui/wxpython/gui_modules/nviz_mapdisp.py

@@ -122,7 +122,7 @@ class GLWindow(MapWindow, glcanvas.GLCanvas):
             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'],