Commit 3b7caf0e authored by Dmitry Kazakov's avatar Dmitry Kazakov
Browse files

Disable automatic black background for EXR file

It creates troubles when the file is imported as a layer or
a file layer.

BUG:427720
parent 3a762710
......@@ -807,8 +807,12 @@ KisImportExportErrorCode EXRConverter::decode(const QString &filename)
/**
* EXR semi-transparent images are expected to be rendered on
* black to ensure correctness of the light model
*
* NOTE: We cannot do that automatically, because the EXR may be imported
* into the image as a layer, in which case the default color will create
* major issues. See https://bugs.kde.org/show_bug.cgi?id=427720
*/
d->image->setDefaultProjectionColor(KoColor(Qt::black, colorSpace));
//d->image->setDefaultProjectionColor(KoColor(Qt::black, colorSpace));
// Create group layers
for (int i = 0; i < groups.size(); ++i) {
......
Supports Markdown
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