From 907780f6b298bfa259ace94d07ca137099067e67 Mon Sep 17 00:00:00 2001 From: Russell Cohen Date: Wed, 12 Jan 2011 11:58:00 -0500 Subject: Added ResponseMover to facilitate spawn and run responses. Modified simplemapper to fix a bug with null responses. --- pixelcore/Screen.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pixelcore') 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 -- cgit v1.2.3