diff options
author | rcoh <rcoh@mit.edu> | 2010-12-15 00:18:24 -0500 |
---|---|---|
committer | rcoh <rcoh@mit.edu> | 2010-12-15 00:18:24 -0500 |
commit | a89c772cd64c6790906734f7128947e0f453c7e3 (patch) | |
tree | 250e0b0d235e1215fa7b40fcfd24b74028ccf643 /operationscore/PixelEvent.py | |
parent | 8cecf83f16fcdec5b3ee68cc40c2b360e0f845d0 (diff) |
About halfway done with the Util cleanup. Some stuff left to do with scoping etc.
Diffstat (limited to 'operationscore/PixelEvent.py')
-rw-r--r-- | operationscore/PixelEvent.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/operationscore/PixelEvent.py b/operationscore/PixelEvent.py index 66b6fdf..27e6e4a 100644 --- a/operationscore/PixelEvent.py +++ b/operationscore/PixelEvent.py @@ -2,6 +2,7 @@ #which should return a color, or None if the response is complete. Consider #requiring a generate event. from operationscore.SmootCoreObject import * +import util.ColorOps as color class PixelEvent(SmootCoreObject): def init(self): self.validateArgs('PixelEvent.params') @@ -11,7 +12,7 @@ class PixelEvent(SmootCoreObject): #Returns a new PixelEvent, but with a response scaled by c. def scale(self,c): newDict = dict(self.argDict) - newDict['Color'] = Util.multiplyColor(newDict['Color'], c) + newDict['Color'] = color.multiplyColor(newDict['Color'], c) return self.__class__(newDict) def state(self,timeDelay): pass |