[GRASS-SVN] r65540 - grass/trunk/gui/wxpython/animation

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jul 6 11:23:20 PDT 2015


Author: annakrat
Date: 2015-07-06 11:23:20 -0700 (Mon, 06 Jul 2015)
New Revision: 65540

Modified:
   grass/trunk/gui/wxpython/animation/data.py
Log:
wxGUI/animation: fix setting region, broken in r65226

Modified: grass/trunk/gui/wxpython/animation/data.py
===================================================================
--- grass/trunk/gui/wxpython/animation/data.py	2015-07-05 14:28:14 UTC (rev 65539)
+++ grass/trunk/gui/wxpython/animation/data.py	2015-07-06 18:23:20 UTC (rev 65540)
@@ -223,6 +223,10 @@
         del currRegion['cells']
         del currRegion['cols']
         del currRegion['rows']
+        if 'projection' in currRegion:
+            del currRegion['projection']
+        if 'zone' in currRegion:
+            del currRegion['zone']
         regions = []
         for i in range(self._mapCount):
             if endRegion or zoomValue:



More information about the grass-commit mailing list