[GRASS-SVN] r56578 - grass/trunk/gui/wxpython/nviz
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jun 3 12:01:28 PDT 2013
Author: annakrat
Date: 2013-06-03 12:01:27 -0700 (Mon, 03 Jun 2013)
New Revision: 56578
Modified:
grass/trunk/gui/wxpython/nviz/mapwindow.py
Log:
wxNviz: fix error from #1961, comment 15
Modified: grass/trunk/gui/wxpython/nviz/mapwindow.py
===================================================================
--- grass/trunk/gui/wxpython/nviz/mapwindow.py 2013-06-03 18:37:11 UTC (rev 56577)
+++ grass/trunk/gui/wxpython/nviz/mapwindow.py 2013-06-03 19:01:27 UTC (rev 56578)
@@ -1264,8 +1264,8 @@
if 'object' not in data['surface']:
return 0
elif layer.type == 'vector':
- if 'object' not in data['vlines'] and \
- 'object' not in data['points']:
+ if 'object' not in data['vector']['lines'] and \
+ 'object' not in data['vector']['points']:
return 0
return 1
More information about the grass-commit
mailing list