Commit d0fda716 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Revert "EXR: make sure when saving the layer names are consistent"

This reverts commit 6b0ebe2d.

This is actually wrong. EXRConverter::Private::makeLayerNamesUnique()
actually can cause exr layer names to be different from krita layer
names.
parent 0ff49d05
......@@ -1328,10 +1328,8 @@ QString EXRConverter::Private::fetchExtraLayersInfo(QList<ExrPaintLayerSaveInfo>
quint32 unused;
KisSaveXmlVisitor visitor(doc, rootElement, unused, QString(), false);
QDomElement el = visitor.savePaintLayerAttributes(info.layer.data(), doc);
// cut the ending '.'
QString strippedName = info.name.left(info.name.size() - 1);
KIS_SAFE_ASSERT_RECOVER_NOOP(info.layer->name() == strippedName);
el.setAttribute(EXR_NAME, strippedName);
......
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