[krita] [Bug 492236] Flattened image won't export to Photoshop (Colorspace differences)

Halla Rempt bugzilla_noreply at kde.org
Tue Aug 27 08:48:10 BST 2024


https://bugs.kde.org/show_bug.cgi?id=492236

Halla Rempt <halla at valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |halla at valdyas.org

--- Comment #3 from Halla Rempt <halla at valdyas.org> ---
Something like

diff --git a/libs/impex/ColorModelHomogenousCheck.h
b/libs/impex/ColorModelHomogenousCheck.h
index 494791e538..7bdf576c1c 100644
--- a/libs/impex/ColorModelHomogenousCheck.h
+++ b/libs/impex/ColorModelHomogenousCheck.h
@@ -84,7 +84,7 @@ private:
     bool check(KisNode * node)
     {
         KisLayer *layer = dynamic_cast<KisLayer*>(node);
-        if (layer) {
+        if (layer && layer->name() != "decorations-wrapper-layer") {

             const KoColorSpace * cs = layer->colorSpace();
             if (cs->colorModelId() != m_colorModelID || cs->colorDepthId() !=
m_colorDepthID) {

Should prevent this warning from happening, but I wonder how many other layer
visitors need the same thing.

-- 
You are receiving this mail because:
You are watching all bug changes.



More information about the kde-mac mailing list