aboutsummaryrefslogtreecommitdiff
path: root/pixelcore
diff options
context:
space:
mode:
authorGravatar Russell Cohen <rcoh@mit.edu>2011-01-12 11:58:00 -0500
committerGravatar Russell Cohen <rcoh@mit.edu>2011-01-12 11:58:00 -0500
commit907780f6b298bfa259ace94d07ca137099067e67 (patch)
treea12e1f555c27982b39a49c89383544773ba08039 /pixelcore
parentc7fc6c2725231eb1427f0edf00d3219409b3d55b (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.py3
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