[GRASS-SVN] r66588 - grass/trunk/gui/wxpython/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 24 09:45:23 PDT 2015


Author: annakrat
Date: 2015-10-24 09:45:23 -0700 (Sat, 24 Oct 2015)
New Revision: 66588

Modified:
   grass/trunk/gui/wxpython/nviz/mapwindow.py
Log:
wxGUI/nviz: fix coloring isosurfaces, broken in r64301

Modified: grass/trunk/gui/wxpython/nviz/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/mapwindow.py	2015-10-23 21:30:42 UTC (rev 66587)
+++ grass/trunk/gui/wxpython/nviz/mapwindow.py	2015-10-24 16:45:23 UTC (rev 66588)
@@ -2035,7 +2035,7 @@
                             continue
                         if map and not grass.find_file(value, element='grid3')['fullname']:
                             continue
-                    elif attrb ==  'color':
+                    if attrb ==  'color':
                         self._display.SetIsosurfaceColor(id, isosurfId, map, str(value))
                     elif attrb ==  'mask':
                         # TODO: invert mask



More information about the grass-commit mailing list