Browse Source

wxGUI: cosmetics when importing nviz

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@49640 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 13 years ago
parent
commit
327e69bda9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      gui/wxpython/mapdisp/frame.py

+ 1 - 2
gui/wxpython/mapdisp/frame.py

@@ -51,7 +51,6 @@ from modules.histogram  import HistogramFrame
 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 @@ class MapFrame(MapFrameBase):
     def AddNviz(self):
         """!Add 3D view mode window
         """
-        import nviz
+        from nviz.main import haveNviz, GLWindow
         
         # check for GLCanvas and OpenGL
         if not haveNviz: