Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/model_layer.py
diff options
context:
space:
mode:
authorThomas Jourdan <b.vehikel@googlemail.com>2010-01-25 17:14:52 (GMT)
committer Thomas Jourdan <b.vehikel@googlemail.com>2010-01-25 17:14:52 (GMT)
commit5997b56f004cea4d7ee344f47e6ba2f41e10f119 (patch)
tree6989069656cb4d3875a48743a4240245c4d7a6e0 /model_layer.py
parent23467385171f296ab2f3e2f040ff6ae9a8438733 (diff)
Cancel obsolete rendering task during start up. This may reduce time when starting from journal.
Diffstat (limited to 'model_layer.py')
-rw-r--r--model_layer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/model_layer.py b/model_layer.py
index 3ca20bd..f30020a 100644
--- a/model_layer.py
+++ b/model_layer.py
@@ -104,7 +104,7 @@ class Layer(model_allele.Allele):
# if cross_sequence[cross_lenght+1] else other.operator
return cross_sequence
- def render(self, ctx, width, height):
+ def render(self, task, ctx, width, height):
"""Layer is an abstract class. Call render() on sub classes only."""
raise TypeError("Layer is an abstract class. " \
"Call render() on sub classes only.")