Browse Source

wxGUI/animation: display default color map when animating elevation (not the one in workspace file)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@58113 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová 11 năm trước cách đây
mục cha
commit
729d762dc5
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      gui/wxpython/animation/nviztask.py

+ 3 - 0
gui/wxpython/animation/nviztask.py

@@ -177,6 +177,9 @@ class NvizTask:
 
         for value in series:
             self.task.set_param(paramName, value)
+            # FIXME: we assume we want always default color map
+            if paramName == 'elevation_map':
+                self.task.set_param('color_map', '')
             self.task.set_flag('overwrite', True)
             self.task.set_param('output', 'tobechanged')
             cmd = self.task.get_cmd(ignoreErrors = False, ignoreRequired = False, ignoreDefault = True)