Changeset 33474
- Timestamp:
- Sep 16, 2008, 11:54:59 PM (16 years ago)
- Location:
- grass/trunk/gui/wxpython/gui_modules
- Files:
-
- 5 edited
-
mapdisp.py (modified) (1 diff)
-
nviz.py (modified) (1 diff)
-
nviz_mapdisp.py (modified) (1 diff)
-
nviz_tools.py (modified) (1 diff)
-
vdigit.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
grass/trunk/gui/wxpython/gui_modules/mapdisp.py
r33399 r33474 2678 2678 "of wxPython! Switching back to " 2679 2679 "2D display mode.\n\nDetails: %s" % nviz.errorMsg) 2680 if not nviz.haveOpenGL:2681 msg = _("Unable to start Nviz. The OpenGL package "2682 "was not found. You can get it "2683 "at http://PyOpenGL.sourceforge.net. "2684 "Switching back to 2D display mode.\n\nDetails: %s" % nviz.errorMsg)2685 2680 if not nviz.haveNviz: 2686 2681 msg = _("Unable to start Nviz. Python extension " -
grass/trunk/gui/wxpython/gui_modules/nviz.py
r32871 r33474 30 30 haveGLCanvas = False 31 31 errorMsg = e 32 try:33 from OpenGL.GL import *34 from OpenGL.GLUT import *35 haveOpenGL = True36 except ImportError, e:37 haveOpenGL = False38 errorMsg = e39 32 40 33 import globalvar 41 34 try: 42 35 sys.path.append(os.path.join(globalvar.ETCWXDIR, "nviz")) 43 import grass 6_wxnviz as wxnviz36 import grass7_wxnviz as wxnviz 44 37 haveNviz = True 45 38 except ImportError, e: -
grass/trunk/gui/wxpython/gui_modules/nviz_mapdisp.py
r33320 r33474 38 38 39 39 sys.path.append(os.path.join(globalvar.ETCWXDIR, "nviz")) 40 import grass 6_wxnviz as wxnviz40 import grass7_wxnviz as wxnviz 41 41 42 42 wxUpdateProperties, EVT_UPDATE_PROP = NewEvent() -
grass/trunk/gui/wxpython/gui_modules/nviz_tools.py
r33320 r33474 31 31 32 32 sys.path.append(os.path.join(globalvar.ETCWXDIR, "nviz")) 33 import grass 6_wxnviz as wxnviz33 import grass7_wxnviz as wxnviz 34 34 35 35 class NvizToolWindow(wx.Frame): -
grass/trunk/gui/wxpython/gui_modules/vdigit.py
r33399 r33474 1304 1304 class CDisplayDriver(AbstractDisplayDriver): 1305 1305 """ 1306 Display driver using grass 6_wxdriver module1306 Display driver using grass7_wxdriver module 1307 1307 """ 1308 1308 def __init__(self, parent, mapwindow):
Note:
See TracChangeset
for help on using the changeset viewer.
