| Summary: | Krita gets confused when the asl file contains layer styles with the same psd uuid | ||
|---|---|---|---|
| Product: | [Applications] krita | Reporter: | Tiar <tamtamy.tymona> |
| Component: | Resource Management | Assignee: | Tiar <tamtamy.tymona> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | halla |
| Priority: | NOR | ||
| Version First Reported In: | git master (please specify the git hash!) | ||
| Target Milestone: | --- | ||
| Platform: | Mint (Ubuntu based) | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/graphics/krita/commit/ab43cbb23d7c247d9377a0ff301ba0a0196eaddc | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Tiar
2021-08-26 18:50:37 UTC
Git commit 8d97c8e529755135663f94f6832c35427954165e by Agata Cacko. Committed on 28/08/2021 at 00:39. Pushed by tymond into branch 'master'. Ignore layer styles that have already used uuids Before this commit, if the user downloaded an incorrect asl file (with non-unique uuids, belonging to repeated layer styles), Krita would be confused on next run, because it would assume those other layer styles are new versions of the already known ones, and try to save new versions of them. This commit just make Krita ignore all layer styles whose uuids has been already used in the file which prevents the trouble. M +9 -0 libs/image/kis_asl_layer_style_serializer.cpp https://invent.kde.org/graphics/krita/commit/8d97c8e529755135663f94f6832c35427954165e Git commit ab43cbb23d7c247d9377a0ff301ba0a0196eaddc by Halla Rempt, on behalf of Agata Cacko. Committed on 28/08/2021 at 07:52. Pushed by rempt into branch 'krita/5.0'. Ignore layer styles that have already used uuids Before this commit, if the user downloaded an incorrect asl file (with non-unique uuids, belonging to repeated layer styles), Krita would be confused on next run, because it would assume those other layer styles are new versions of the already known ones, and try to save new versions of them. This commit just make Krita ignore all layer styles whose uuids has been already used in the file which prevents the trouble. (cherry picked from commit 8d97c8e529755135663f94f6832c35427954165e) M +9 -0 libs/image/kis_asl_layer_style_serializer.cpp https://invent.kde.org/graphics/krita/commit/ab43cbb23d7c247d9377a0ff301ba0a0196eaddc |