Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
OpenRaster: default groups to non-passthrough mode, per spec
wareya Na3a052be3c6dd
diff --git a/plugins/impex/ora/kis_open_raster_stack_load_visitor.cpp b/plugins/impex/ora/kis_open_raster_stack_load_visitor.cppindex 38a5f7a51e..ab4dd5bae1 100644--- a/plugins/impex/ora/kis_open_raster_stack_load_visitor.cpp+++ b/plugins/impex/ora/kis_open_raster_stack_load_visitor.cpp@@ -198,9 +198,9 @@ void KisOpenRasterStackLoadVisitor::loadGroupLayer(const QDomElement& elem, KisGopacity = KisDomUtils::toDouble(subelem.attribute("opacity", "1.0"));}KisGroupLayerSP layer = new KisGroupLayer(d->image, "", opacity * 255);- bool passThrough = true;- if (subelem.attribute("isolation")=="isolate") {- passThrough = false;+ bool passThrough = false;+ if (subelem.attribute("isolation")=="auto") {+ passThrough = true;}layer->setPassThroughMode(passThrough);d->image->addNode(layer, groupLayer.data(), 0);