diff options
author | Thomas 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) |
commit | 5997b56f004cea4d7ee344f47e6ba2f41e10f119 (patch) | |
tree | 6989069656cb4d3875a48743a4240245c4d7a6e0 /model_layer.py | |
parent | 23467385171f296ab2f3e2f040ff6ae9a8438733 (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.py | 2 |
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.") |