[GRASS-SVN] r33042 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Aug 23 19:19:33 EDT 2008


Author: martinl
Date: 2008-08-23 19:19:33 -0400 (Sat, 23 Aug 2008)
New Revision: 33042

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/render.py
Log:
wxGUI: update r33040, remove dead code

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/render.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/render.py	2008-08-23 23:03:00 UTC (rev 33041)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/render.py	2008-08-23 23:19:33 UTC (rev 33042)
@@ -830,8 +830,6 @@
                 
             Debug.msg (3, "Map.Render() type=%s, layer=%s " % (layer.type, layer.name))
             ilayer += 1
-
-        return True
     
     def Render(self, force=False, mapWindow=None, windres=False):
         """
@@ -868,10 +866,8 @@
             os.environ["GRASS_TRUECOLOR"] = "TRUE"
             os.environ["GRASS_RENDER_IMMEDIATE"] = "TRUE"
         
-        if not self._renderLayers(force, mapWindow, maps, masks, opacities):
-            os.environ["GRASS_REGION"] = self.SetRegion(windres)
-            self._renderLayers(True, False, mapWindow, maps, masks, opacities)
-        
+        self._renderLayers(force, mapWindow, maps, masks, opacities)
+            
         # ugly hack for MSYS
         if not subprocess.mswindows:
             mapstr = ",".join(maps)



More information about the grass-commit mailing list