diff options
author | Gonzalo Odiard <godiard@gmail.com> | 2012-11-01 13:46:45 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@gmail.com> | 2012-11-01 13:46:45 (GMT) |
commit | 58e9e25e2a2f4f1c14ac4f83107bea7ed1af34db (patch) | |
tree | bec759bad65d574c47641931f6322f953ec20935 | |
parent | 62c6287a207040ade2712449ededb3b390a9912f (diff) |
Alpha is broken after user undo/redo - SL #4143
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r-- | Area.py | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -966,7 +966,6 @@ class Area(Gtk.DrawingArea): undo_surface = self._undo_list[self._undo_index] self.drawing_ctx.set_source_surface(undo_surface, 0, 0) - self.drawing_ctx.set_operator(cairo.OPERATOR_SOURCE) self.drawing_ctx.paint() self.queue_draw() @@ -987,7 +986,6 @@ class Area(Gtk.DrawingArea): undo_surface = self._undo_list[self._undo_index] self.drawing_ctx.set_source_surface(undo_surface, 0, 0) - self.drawing_ctx.set_operator(cairo.OPERATOR_SOURCE) self.drawing_ctx.paint() self.queue_draw() @@ -1027,7 +1025,6 @@ class Area(Gtk.DrawingArea): undo_surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, width, height) undo_ctx = cairo.Context(undo_surface) undo_ctx.set_source_surface(self.drawing_canvas, 0, 0) - undo_ctx.set_operator(cairo.OPERATOR_SOURCE) undo_ctx.paint() undo_surface.flush() |