[GRASS-SVN] r58113 - grass/trunk/gui/wxpython/animation
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 27 20:18:56 PDT 2013
Author: annakrat
Date: 2013-10-27 20:18:56 -0700 (Sun, 27 Oct 2013)
New Revision: 58113
Modified:
grass/trunk/gui/wxpython/animation/nviztask.py
Log:
wxGUI/animation: display default color map when animating elevation (not the one in workspace file)
Modified: grass/trunk/gui/wxpython/animation/nviztask.py
===================================================================
--- grass/trunk/gui/wxpython/animation/nviztask.py 2013-10-27 22:46:40 UTC (rev 58112)
+++ grass/trunk/gui/wxpython/animation/nviztask.py 2013-10-28 03:18:56 UTC (rev 58113)
@@ -177,6 +177,9 @@
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)
More information about the grass-commit
mailing list