Commit e9d66ef5 authored by Wolfgang Rohdewald's avatar Wolfgang Rohdewald
Browse files

workaround for a problem with changing lightsource while an animation runs

parent 3d3a44e9
......@@ -361,7 +361,7 @@ class UIWall(Wall):
def lightSource(self, lightSource):
"""setting this actually changes the visuals"""
if self.lightSource != lightSource:
assert ParallelAnimationGroup.current is None
# assert ParallelAnimationGroup.current is None # may trigger, reason unknown
self.__square.lightSource = lightSource
for side in self.__sides:
side.lightSource = lightSource
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment