Sfoglia il codice sorgente

wxGUI/animation: fix setting region, broken in https://trac.osgeo.org/grass/changeset/65226 (merge from trunk, https://trac.osgeo.org/grass/changeset/65540)

git-svn-id: https://svn.osgeo.org/grass/grass/branches/releasebranch_7_0@65655 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 anni fa
parent
commit
6445868066
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      gui/wxpython/animation/data.py

+ 4 - 0
gui/wxpython/animation/data.py

@@ -223,6 +223,10 @@ class AnimationData(object):
         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: