diff options
author | Thomas Jourdan <b.vehikel@googlemail.com> | 2010-02-19 19:37:21 (GMT) |
---|---|---|
committer | Thomas Jourdan <b.vehikel@googlemail.com> | 2010-02-19 19:37:21 (GMT) |
commit | 5d040e55f7e9d51eec1a051a653c7897044dafb3 (patch) | |
tree | a473869799e747743aa38fad5e6ce9973b1354c5 /ep_modifier_flip.py | |
parent | b0abe906cc599e787393a90d612ca272d7efc636 (diff) |
Save and restoring the graphics context in modifier nodes. My be this is not backward compatible.
Diffstat (limited to 'ep_modifier_flip.py')
-rw-r--r-- | ep_modifier_flip.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ep_modifier_flip.py b/ep_modifier_flip.py index a6ffaf7..ac588d0 100644 --- a/ep_modifier_flip.py +++ b/ep_modifier_flip.py @@ -82,7 +82,9 @@ class FlipModifier(model_allele.Allele): # paint one layer ctx.scale(self.xFlip, self.yFlip) ctx.save() + ctx.save() single_layer.render(task, ctx, width, height) + ctx.restore() single_treenode.render(task, ctx, width, height) ctx.restore() |