aboutsummaryrefslogtreecommitdiff
path: root/operationscore/PixelEvent.py
diff options
context:
space:
mode:
Diffstat (limited to 'operationscore/PixelEvent.py')
-rw-r--r--operationscore/PixelEvent.py3
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