Summary: | Nested file layer support | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | reptillia39 |
Component: | General | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eneeen, griffinvalley, halla |
Priority: | NOR | ||
Version: | 4.0 pre-alpha | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://commits.kde.org/krita/40a1a0c0999a20744ae08244df10b679f172b724 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Example Files |
Description
reptillia39
2017-11-04 04:43:11 UTC
Also, I found there seem to be a offset bug after you get around and locating the original file. This is because of the code in Kis_safe_document_loader.ccp line 187. The file layer is copied to temp for some reason, but it probably ought to remember the original path so it can find file layers it is referencing. I don't know how this should be fixed as I don't quite understand why it is copied. *** Bug 387354 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 394211 *** We load a copy of the file layer because of https://bugs.kde.org/show_bug.cgi?id=325686 -- it's not safe to be loading a file that can be changed to while we're loading it. Git commit 6828f33fe3e92fd4ca151bd44ce1886118d01ed6 by Boudewijn Rempt. Committed on 05/06/2018 at 14:32. Pushed by rempt into branch 'krita/4.0'. Do not allow .kra files as file layers Nesting .kra files is dangerous, since a .kra file can contain file layers itself, which is not supported. Related: bug 394211, bug 325686 M +4 -1 libs/ui/dialogs/kis_dlg_file_layer.cpp https://commits.kde.org/krita/6828f33fe3e92fd4ca151bd44ce1886118d01ed6 Git commit 40a1a0c0999a20744ae08244df10b679f172b724 by Boudewijn Rempt. Committed on 05/06/2018 at 14:33. Pushed by rempt into branch 'master'. Do not allow .kra files as file layers Nesting .kra files is dangerous, since a .kra file can contain file layers itself, which is not supported. Related: bug 394211, bug 325686 (cherry picked from commit 6828f33fe3e92fd4ca151bd44ce1886118d01ed6) M +4 -1 libs/ui/dialogs/kis_dlg_file_layer.cpp https://commits.kde.org/krita/40a1a0c0999a20744ae08244df10b679f172b724 Oh why?... Example: painting background and actors on separate files to be able to reuse background is really great option... Maybe some way to discard nested layers is possible? No, because there's no way to know that the .kra file we're loading is a nested .kra file. But you can still use any other file format inside a .kra file. A good way to work would be to export the your separate files to .png, add them as file layers, but keep the original around. Only the projection is used anyway. For future reference, this one got modified: https://bugs.kde.org/show_bug.cgi?id=403816 |