Ver código fonte

wxGUI: no need to force rerender when computation region changed

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@70221 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 8 anos atrás
pai
commit
9ff6f1973d
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      gui/wxpython/lmgr/layertree.py

+ 2 - 2
gui/wxpython/lmgr/layertree.py

@@ -916,7 +916,7 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
         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 @@ class LayerTree(treemixin.DragAndDrop, CT.CustomTreeCtrl):
                                 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"""