瀏覽代碼

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 年之前
父節點
當前提交
5d7045f17e
共有 1 個文件被更改,包括 4 次插入0 次删除
  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: