diff options
author | Russell Cohen <rcoh@mit.edu> | 2011-01-12 11:58:00 -0500 |
---|---|---|
committer | Russell Cohen <rcoh@mit.edu> | 2011-01-12 11:58:00 -0500 |
commit | 907780f6b298bfa259ace94d07ca137099067e67 (patch) | |
tree | a12e1f555c27982b39a49c89383544773ba08039 /pixelcore | |
parent | c7fc6c2725231eb1427f0edf00d3219409b3d55b (diff) |
Added ResponseMover to facilitate spawn and run responses. Modified
simplemapper to fix a bug with null responses.
Diffstat (limited to 'pixelcore')
-rw-r--r-- | pixelcore/Screen.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pixelcore/Screen.py b/pixelcore/Screen.py index 3e8ad5e..77bebb6 100644 --- a/pixelcore/Screen.py +++ b/pixelcore/Screen.py @@ -8,6 +8,7 @@ import util.Strings as Strings import util.TimeOps as timeops import itertools import sys +import pdb from logger import main_log #Class representing a collection of Pixels grouped into PixelStrips. Needs a #PixelMapper, currently set via setMapper by may be migrated into the argDict. @@ -91,5 +92,7 @@ class Screen: PixelEvent.addPixelEventIfMissing(responseInfo) currentTime = timeops.time() for (pixel, weight) in pixelWeightList: + if pixel == None: + pdb.set_trace() pixel.processInput(responseInfo['PixelEvent'].scale(weight), 0, currentTime) #TODO: z-index |