[GRASS-SVN] r47114 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Thu Jul 14 09:08:22 EDT 2011
Author: annakrat
Date: 2011-07-14 06:08:22 -0700 (Thu, 14 Jul 2011)
New Revision: 47114
Modified:
grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py
Log:
wxNviz: fixed nviz_cmd command for slice position
Modified: grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py 2011-07-14 13:01:53 UTC (rev 47113)
+++ grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py 2011-07-14 13:08:22 UTC (rev 47114)
@@ -1595,7 +1595,7 @@
axis = ('x','y','z')[slice['position']['axis']]
cmdSlice += "%d:%s," % (i + 1, axis)
for coord in ('x1', 'x2', 'y1', 'y2', 'z1', 'z2'):
- cmdSlicePos += "%d," % slice['position'][coord]
+ cmdSlicePos += "%f," % slice['position'][coord]
cmdSliceTransp += "%s," % slice['transp']['value']
cmd += "volume=" + cmdName.strip(',') + ' '
More information about the grass-commit
mailing list