Commit 4bc6afaf authored by Dmitry Kazakov's avatar Dmitry Kazakov

Fix the Generated Layer updates when doing processings on them

BUG:317768
parent 2026c940
...@@ -69,7 +69,7 @@ void KisSimpleProcessingVisitor::visit(KisAdjustmentLayer *layer, KisUndoAdapter ...@@ -69,7 +69,7 @@ void KisSimpleProcessingVisitor::visit(KisAdjustmentLayer *layer, KisUndoAdapter
void KisSimpleProcessingVisitor::visit(KisGeneratorLayer *layer, KisUndoAdapter *undoAdapter) void KisSimpleProcessingVisitor::visit(KisGeneratorLayer *layer, KisUndoAdapter *undoAdapter)
{ {
visitNodeWithPaintDevice(layer, undoAdapter); visitNodeWithPaintDevice(layer, undoAdapter);
layer->resetCache(); layer->update();
} }
void KisSimpleProcessingVisitor::visit(KisFilterMask *mask, KisUndoAdapter *undoAdapter) void KisSimpleProcessingVisitor::visit(KisFilterMask *mask, KisUndoAdapter *undoAdapter)
......
...@@ -107,7 +107,7 @@ void KisTransformProcessingVisitor::visit(KisGeneratorLayer *layer, KisUndoAdapt ...@@ -107,7 +107,7 @@ void KisTransformProcessingVisitor::visit(KisGeneratorLayer *layer, KisUndoAdapt
{ {
ProgressHelper helper(layer); ProgressHelper helper(layer);
transformSelection(layer->internalSelection(), undoAdapter, ProgressHelper(layer)); transformSelection(layer->internalSelection(), undoAdapter, ProgressHelper(layer));
layer->resetCache(); layer->update();
transformClones(layer, undoAdapter); transformClones(layer, undoAdapter);
} }
......
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