Bug 333097

Summary: Saving an EXR image with duplicated layer names overrides them!
Product: [Applications] krita Reporter: Dmitry Kazakov <dimula73>
Component: File formatsAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dmitry Kazakov 2014-04-05 19:00:28 UTC
The layer names of a EXR image must be unique to be saved properly, which is weird, of course, but that is a bug :(
Comment 1 Dmitry Kazakov 2014-04-06 10:10:16 UTC
Git commit 8cf4c79fdf96cd24bcf915bf8fce4c1c8f140c70 by Dmitry Kazakov.
Committed on 06/04/2014 at 10:09.
Pushed by dkazakov into branch 'master'.

Fix two user-interaction bugs in multilayer EXR

1) Warn the user that some layer types cannot be saved to the EXR
   and will be lost.

2) Ensure that all the layer names in EXR are unique. Otherwise the
   layer data will also be lost.

M  +104  -11   krita/plugins/formats/exr/exr_converter.cc

http://commits.kde.org/calligra/8cf4c79fdf96cd24bcf915bf8fce4c1c8f140c70