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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Aug 19 02:34:51 EDT 2008


Author: cmbarton
Date: 2008-08-19 02:34:50 -0400 (Tue, 19 Aug 2008)
New Revision: 32875

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
Log:
Only reorder layers if layers have changed prior to rendering.

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-08-19 06:03:25 UTC (rev 32874)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/mapdisp.py	2008-08-19 06:34:50 UTC (rev 32875)
@@ -644,7 +644,8 @@
         # render background image if needed
         #
         
-        self.tree.ReorderLayers()
+        if self.tree.rerender == True:
+            self.tree.ReorderLayers()
         if render:
             # update display size
             self.Map.ChangeMapSize(self.GetClientSize())



More information about the grass-commit mailing list