[GRASS-SVN] r49640 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 9 07:17:18 EST 2011
Author: martinl
Date: 2011-12-09 04:17:18 -0800 (Fri, 09 Dec 2011)
New Revision: 49640
Modified:
grass/trunk/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: cosmetics when importing nviz
Modified: grass/trunk/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/frame.py 2011-12-09 12:15:41 UTC (rev 49639)
+++ grass/trunk/gui/wxpython/mapdisp/frame.py 2011-12-09 12:17:18 UTC (rev 49640)
@@ -51,7 +51,6 @@
from wxplot.histogram import Histogram2Frame
from wxplot.profile import ProfileFrame
from wxplot.scatter import ScatterFrame
-from nviz.main import haveNviz, GLWindow
from mapdisp import statusbar as sb
@@ -255,7 +254,7 @@
def AddNviz(self):
"""!Add 3D view mode window
"""
- import nviz
+ from nviz.main import haveNviz, GLWindow
# check for GLCanvas and OpenGL
if not haveNviz:
More information about the grass-commit
mailing list