[GRASS-SVN] r70221 - grass/trunk/gui/wxpython/lmgr
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Jan 3 10:50:02 PST 2017
Author: martinl
Date: 2017-01-03 10:50:02 -0800 (Tue, 03 Jan 2017)
New Revision: 70221
Modified:
grass/trunk/gui/wxpython/lmgr/layertree.py
Log:
wxGUI: no need to force rerender when computation region changed
Modified: grass/trunk/gui/wxpython/lmgr/layertree.py
===================================================================
--- grass/trunk/gui/wxpython/lmgr/layertree.py 2017-01-03 15:40:29 UTC (rev 70220)
+++ grass/trunk/gui/wxpython/lmgr/layertree.py 2017-01-03 18:50:02 UTC (rev 70221)
@@ -916,7 +916,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
@@ -954,7 +954,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