[GRASS-SVN] r66589 - grass/branches/releasebranch_7_0/gui/wxpython/nviz

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Oct 24 09:46:07 PDT 2015


Author: annakrat
Date: 2015-10-24 09:46:06 -0700 (Sat, 24 Oct 2015)
New Revision: 66589

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/nviz/mapwindow.py
Log:
wxGUI/nviz: fix coloring isosurfaces, broken in r64301 (merge from trunk, r66588)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/nviz/mapwindow.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/nviz/mapwindow.py	2015-10-24 16:45:23 UTC (rev 66588)
+++ grass/branches/releasebranch_7_0/gui/wxpython/nviz/mapwindow.py	2015-10-24 16:46:06 UTC (rev 66589)
@@ -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