Commit 7b147c93 authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix threading issue when loading KisGeneratorLayer

We shouldn't call the same function from both, GUI thread and a worker
thread. It may lead to concurrent writes to the same image area, which
is not something we are allowed to do

parent 3efcd3e6
......@@ -74,7 +74,7 @@ void KisGeneratorLayer::setFilter(KisFilterConfigurationSP filterConfig)
m_d->preparedRect = QRect();
void KisGeneratorLayer::slotDelayedStaticUpdate()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment