2012-05-11 22:05:41 +00:00
|
|
|
from .GLViewWidget import GLViewWidget
|
2012-03-06 06:22:02 +00:00
|
|
|
|
2012-10-11 04:57:24 +00:00
|
|
|
from pyqtgraph import importAll
|
|
|
|
#import os
|
|
|
|
#def importAll(path):
|
|
|
|
#d = os.path.join(os.path.split(__file__)[0], path)
|
|
|
|
#files = []
|
|
|
|
#for f in os.listdir(d):
|
|
|
|
#if os.path.isdir(os.path.join(d, f)) and f != '__pycache__':
|
|
|
|
#files.append(f)
|
|
|
|
#elif f[-3:] == '.py' and f != '__init__.py':
|
|
|
|
#files.append(f[:-3])
|
2012-03-06 06:22:02 +00:00
|
|
|
|
2012-10-11 04:57:24 +00:00
|
|
|
#for modName in files:
|
|
|
|
#mod = __import__(path+"."+modName, globals(), locals(), fromlist=['*'])
|
|
|
|
#if hasattr(mod, '__all__'):
|
|
|
|
#names = mod.__all__
|
|
|
|
#else:
|
|
|
|
#names = [n for n in dir(mod) if n[0] != '_']
|
|
|
|
#for k in names:
|
|
|
|
#if hasattr(mod, k):
|
|
|
|
#globals()[k] = getattr(mod, k)
|
2012-03-06 06:22:02 +00:00
|
|
|
|
2012-10-11 04:57:24 +00:00
|
|
|
importAll('items', globals(), locals())
|
2012-12-05 02:02:05 +00:00
|
|
|
\
|
|
|
|
from MeshData import MeshData
|
|
|
|
## for backward compatibility:
|
2012-12-05 05:25:45 +00:00
|
|
|
#MeshData.MeshData = MeshData ## breaks autodoc.
|
2012-12-05 02:02:05 +00:00
|
|
|
|
|
|
|
import shaders
|