Browse Source

wxGUI/animation: fix setting region, broken in https://trac.osgeo.org/grass/changeset/65226

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@65540 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 9 years ago
parent
commit
5d7045f17e
1 changed files with 4 additions and 0 deletions
  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: