[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/image
From: Bart Coppens <kde () bartcoppens ! be>
Date: 2008-12-31 18:53:30
Message-ID: 1230749610.186482.3059.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 903945 by coppens:
When the layer has been moved after painting on it with a temporary target, the projection will not have \
moved. So move the projection as well, so that we replace the right part of the projection with the \
paint device's data.
M +3 -0 kis_paint_layer.cc
--- trunk/koffice/krita/image/kis_paint_layer.cc #903944:903945
@@ -137,6 +137,9 @@
if (!m_d->projection) {
m_d->projection = new KisPaintDevice(*m_d->paintDevice);
} else {
+ m_d->projection->setX(m_d->paintDevice->x());
+ m_d->projection->setY(m_d->paintDevice->y());
+
KisPainter gc(m_d->projection);
gc.setCompositeOp(colorSpace()->compositeOp(COMPOSITE_COPY));
gc.bitBlt(rc.topLeft(), m_d->paintDevice, rc);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic