[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/krita/image
From: Cyrille Berger <cyb () lepi ! org>
Date: 2008-11-30 19:41:37
Message-ID: 1228074097.788584.23743.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 890979 by berger:
filters need an active transaction to have a old and new data
M +3 -0 kis_filter_mask.cpp
--- trunk/koffice/krita/image/kis_filter_mask.cpp #890978:890979
@@ -25,6 +25,7 @@
#include "kis_processing_information.h"
#include "kis_node.h"
#include "kis_node_visitor.h"
+#include "kis_transaction.h"
class KRITAIMAGE_EXPORT KisFilterMask::Private
{
@@ -70,6 +71,7 @@
{
Q_ASSERT(filterConfig);
m_d->filterConfig = filterConfig;
+ setDirty();
}
void KisFilterMask::setDirty()
@@ -92,6 +94,7 @@
selection()->updateProjection(rc);
+ KisTransaction transac("", projection, 0 );
KisConstProcessingInformation src(projection, rc.topLeft(), selection());
KisProcessingInformation dst(projection, rc.topLeft(), selection());
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic