koffice/krita/image
Cyrille Berger
cyb at lepi.org
Sun Nov 2 01:07:06 CET 2008
SVN commit 878878 by berger:
let the image receive signals even when locked (this fix the redisplay of the image after a color space change)
not sure why this was done that way in the first place (the revision where it was introduced 684996 speak of compilation / doc changes and it is neither...), so if anyone knows ?
CCMAIL:kimageshop at kde.org
M +3 -3 kis_image.cc
--- trunk/koffice/krita/image/kis_image.cc #878877:878878
@@ -329,7 +329,7 @@
if (m_d->rootLayer)
m_d->rootLayer->updateStrategy()->lock();
m_d->sizeChangedWhileLocked = false;
- blockSignals(true);
+// blockSignals(true);
}
m_d->lockCount++;
}
@@ -342,7 +342,7 @@
m_d->lockCount--;
if (m_d->lockCount == 0) {
- blockSignals(false);
+// blockSignals(false);
if (m_d->sizeChangedWhileLocked) {
emit sigSizeChanged(m_d->width, m_d->height);
@@ -576,7 +576,7 @@
m_d->rootLayer->accept(visitor);
unlock();
-
+
if (undo()) {
m_d->adapter->addCommand(new KisImageConvertTypeCommand(KisImageSP(this), oldCs, dstColorSpace));
More information about the kimageshop
mailing list