Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit c0dcf58f authored by Boudewijn Rempt's avatar Boudewijn Rempt

BUG:345461 Save masks for file layers, too.

parent e2084873
......@@ -90,6 +90,10 @@ bool KisKraSaveVisitor::visit(KisExternalLayer * layer)
result = shapeLayer->saveLayer(m_store);
m_store->popDirectory();
}
else if (KisFileLayer *fileLayer = dynamic_cast<KisFileLayer*>(layer)) {
Q_UNUSED(fileLayer); // We don't save data for file layers, but we still want to save the masks.
result = true;
}
return result && visitAllInverse(layer);
}
......
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