Commit f4c5a56f authored by Boudewijn Rempt's avatar Boudewijn Rempt

Disregard transparent pixels

parent e2f1ecf0
......@@ -122,6 +122,10 @@ void LayerSplit::slotLayerSplit()
KoColor c(cs);
c.setColor(acc->rawDataConst(), cs);
if (c.opacityU8() == OPACITY_TRANSPARENT_U8) {
continue;
}
if (dlg.disregardOpacity()) {
c.setOpacity(OPACITY_OPAQUE_U8);
}
......
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