OSDN Git Service
(root)
/
mypaint-anime
/
master.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38ae431
)
fix "copy to clipboard"
author
Martin Renold
<martinxyz@gmx.ch>
Sun, 6 Nov 2011 08:34:04 +0000
(09:34 +0100)
committer
Martin Renold
<martinxyz@gmx.ch>
Sun, 6 Nov 2011 08:34:04 +0000
(09:34 +0100)
https://gna.org/bugs/?18936
lib/layer.py
patch
|
blob
|
history
diff --git
a/lib/layer.py
b/lib/layer.py
index
b839192
..
ea0a43f
100644
(file)
--- a/
lib/layer.py
+++ b/
lib/layer.py
@@
-86,7
+86,7
@@
class Layer:
self._surface.load_from_data(pixbuf)
def render_as_pixbuf(self, *rect, **kwargs):
- self._surface.render_as_pixbuf(*rect, **kwargs)
+
return
self._surface.render_as_pixbuf(*rect, **kwargs)
def save_snapshot(self):
return (self.strokes[:], self._surface.save_snapshot(), self.opacity)