[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [calligra/calligra/2.9] krita/plugins/formats/exr: BUG:352983 Place the exr layers in the right orde
From: Boudewijn Rempt <boud () valdyas ! org>
Date: 2015-09-22 9:48:25
Message-ID: E1ZeKBV-00085s-Fm () scm ! kde ! org
[Download RAW message or body]
Git commit 0b9c607a51db4ef7108f5006370862febb96cb3f by Boudewijn Rempt.
Committed on 22/09/2015 at 08:29.
Pushed by rempt into branch 'calligra/2.9'.
BUG:352983 Place the exr layers in the right order
M +1 -1 krita/plugins/formats/exr/exr_converter.cc
http://commits.kde.org/calligra/0b9c607a51db4ef7108f5006370862febb96cb3f
diff --git a/krita/plugins/formats/exr/exr_converter.cc \
b/krita/plugins/formats/exr/exr_converter.cc index cfcce00..91a6ba3 100644
--- a/krita/plugins/formats/exr/exr_converter.cc
+++ b/krita/plugins/formats/exr/exr_converter.cc
@@ -788,7 +788,7 @@ KisImageBuilder_Result exrConverter::decode(const KUrl& uri)
}
// Load the layers
- for (int i = 0; i < informationObjects.size(); ++i) {
+ for (int i = informationObjects.size() - 1; i >= 0; --i) {
ExrPaintLayerInfo& info = informationObjects[i];
if (info.colorSpace) {
dbgFile << "Decoding " << info.name << " with " << \
info.channelMap.size() << " channels, and color space " << info.colorSpace->id();
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic