Commit 0a312bd7 authored by Halla Rempt's avatar Halla Rempt
Browse files

Refresh the image graph so the filter dialog can show a preview


We want to show a preview of what the filter will do, so we need to feed
the dialog the new adjustment layer's original paint device. But unless
we synchronously recompute the image projection, that original paint
device will empty at this point.
parent e238d041
......@@ -547,6 +547,7 @@ void KisLayerManager::addAdjustmentLayer(KisNodeSP activeNode)
KisSelectionSP selection = m_view->selection();
KisAdjustmentLayerSP adjl = addAdjustmentLayer(activeNode, QString(), 0, selection);
KisPaintDeviceSP previewDevice = new KisPaintDevice(*adjl->original());
Supports Markdown
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