diff options
-rw-r--r-- | chroma/camera.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chroma/camera.py b/chroma/camera.py index 0d3e225..80fc8f6 100644 --- a/chroma/camera.py +++ b/chroma/camera.py @@ -12,7 +12,6 @@ import sys import pycuda.driver as cuda from pycuda import gpuarray as ga -from chroma.color import map_to_color from chroma.geometry import Mesh, Solid, Geometry, vacuum from chroma.transform import rotate, make_rotation_matrix from chroma.sample import uniform_sphere @@ -727,6 +726,7 @@ class EventViewer(Camera): print 'Done.' def color_hit_pmts(self): + from chroma.color import map_to_color self.gpu_geometry.reset_colors() if self.ev.channels is None: |