[GRASS-SVN] r70222 - grass/branches/releasebranch_7_2/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 3 11:34:38 PST 2017
Author: martinl
Date: 2017-01-03 11:34:38 -0800 (Tue, 03 Jan 2017)
New Revision: 70222
Modified:
grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: no need to force rerender when computation region changed (merge r70221 from trunk)
Modified: grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py 2017-01-03 18:50:02 UTC (rev 70221)
+++ grass/branches/releasebranch_7_2/gui/wxpython/lmgr/layertree.py 2017-01-03 19:34:38 UTC (rev 70222)
@@ -922,7 +922,7 @@
self._giface.RunCmd(cmd, notification=Notification.NO_NOTIFICATION)
# re-render map display
- self._giface.GetMapWindow().UpdateMap(render=True)
+ self._giface.GetMapWindow().UpdateMap(render=False)
def OnSetCompRegFromMap(self, event):
"""Set computational region from selected raster/vector map
@@ -960,7 +960,7 @@
notification=Notification.NO_NOTIFICATION)
# re-render map display
- self._giface.GetMapWindow().UpdateMap(render=True)
+ self._giface.GetMapWindow().UpdateMap(render=False)
def OnProfile(self, event):
"""Plot profile of given raster map layer"""
More information about the grass-commit
mailing list