Commit 25e07387 authored by Halla Rempt's avatar Halla Rempt
Browse files

Fix layer lock after exposure change

BUG:288714

This bug was around since at least 2008, probably earlier!
parent 5cc93d02
......@@ -241,10 +241,13 @@ void KisTool::canvasResourceChanged(int key, const QVariant & v)
break;
case(KisCanvasResourceProvider::HdrExposure):
d->currentExposure = static_cast<float>(v.toDouble());
break;
case(KisCanvasResourceProvider::CurrentGeneratorConfiguration):
d->currentGenerator = static_cast<KisFilterConfiguration*>(v.value<void *>());
break;
case(KisCanvasResourceProvider::CurrentKritaNode):
d->currentNode = (v.value<KisNodeSP>());
break;
default:
;
// Do nothing
......
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