[GRASS-SVN] r65240 - grass/trunk/gui/wxpython/core

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 14 19:51:36 PDT 2015


Author: annakrat
Date: 2015-05-14 19:51:36 -0700 (Thu, 14 May 2015)
New Revision: 65240

Modified:
   grass/trunk/gui/wxpython/core/render.py
Log:
wxGUI: fix after the new rendering implementation - force rerendering map when activated (zoom and position could change)

Modified: grass/trunk/gui/wxpython/core/render.py
===================================================================
--- grass/trunk/gui/wxpython/core/render.py	2015-05-15 02:38:21 UTC (rev 65239)
+++ grass/trunk/gui/wxpython/core/render.py	2015-05-15 02:51:36 UTC (rev 65240)
@@ -1247,6 +1247,8 @@
         :param active: to be rendered (True)
         """
         layer.active = active
+        if active:
+            layer.forceRender = True
 
         Debug.msg (3, "Map.ChangeLayerActive(): name='%s' -> active=%d" % \
                    (layer.name, layer.active))



More information about the grass-commit mailing list