From abc7ea9287dcbcd4b8b8a1ff98b3d1e19c2ee226 Mon Sep 17 00:00:00 2001 From: Marc Jeanmougin Date: Thu, 18 Jan 2018 00:16:06 +0100 Subject: Fixes https://bugs.launchpad.net/inkscape/+bug/1742305 (ungrouping can lose group's opacity) --- src/style-internal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/style-internal.cpp b/src/style-internal.cpp index 319f4b905..5d9be05aa 100644 --- a/src/style-internal.cpp +++ b/src/style-internal.cpp @@ -206,6 +206,7 @@ SPIScale24::merge( const SPIBase* const parent ) { std::cerr << "SPIScale24::merge: unhandled property: " << name << std::endl; if( !set || (!inherit && value == SP_SCALE24_MAX) ) { value = p->value; + set = (value != 1.0); } else { if( inherit ) value = p->value; // Insures child is up-to-date value = SP_SCALE24_MUL( value, p->value ); -- cgit v1.2.3