Changeset View
Changeset View
Standalone View
Standalone View
libs/libkis/Filter.cpp
Show First 20 Lines • Show All 157 Lines • ▼ Show 20 Line(s) | 111 | { | |||
---|---|---|---|---|---|
158 | } else { | 158 | } else { | ||
159 | image->addJob(currentStrokeId, new KisFilterStrokeStrategy::Data(processRect, false)); | 159 | image->addJob(currentStrokeId, new KisFilterStrokeStrategy::Data(processRect, false)); | ||
160 | } | 160 | } | ||
161 | 161 | | |||
162 | image->endStroke(currentStrokeId); | 162 | image->endStroke(currentStrokeId); | ||
163 | 163 | | |||
164 | return true; | 164 | return true; | ||
165 | } | 165 | } | ||
166 | | ||||
167 | KisFilterConfigurationSP Filter::filterConfig() | ||||
168 | { | ||||
169 | KisFilterConfigurationSP config = KisFilterRegistry::instance()->get(d->name)->defaultConfiguration(); | ||||
170 | Q_FOREACH(const QString property, d->configuration->properties().keys()) { | ||||
171 | config->setProperty(property, d->configuration->property(property)); | ||||
172 | } | ||||
173 | return config; | ||||
174 | } |