Bug 333097 - Saving an EXR image with duplicated layer names overrides them!
Summary: Saving an EXR image with duplicated layer names overrides them!
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: File formats (show other bugs)
Version: git master (please specify the git hash!)
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-05 19:00 UTC by Dmitry Kazakov
Modified: 2014-04-06 10:10 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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