diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2016-10-20 21:56:38 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2016-10-20 21:56:38 +0000 |
| commit | 42d434bcfcddb8519272144ec8b3b579bb470238 (patch) | |
| tree | 2039460440b00482f41e8e9395a49b6d2fa789f7 /src/sp-gradient.cpp | |
| parent | cosmetic change (diff) | |
| download | inkscape-42d434bcfcddb8519272144ec8b3b579bb470238.tar.gz inkscape-42d434bcfcddb8519272144ec8b3b579bb470238.zip | |
Fix gradient comparison.
(bzr r15183)
Diffstat (limited to 'src/sp-gradient.cpp')
| -rw-r--r-- | src/sp-gradient.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-gradient.cpp b/src/sp-gradient.cpp index 49f117a51..746c7fa41 100644 --- a/src/sp-gradient.cpp +++ b/src/sp-gradient.cpp @@ -127,7 +127,7 @@ bool SPGradient::isEquivalent(SPGradient *that) bool effective = true; while (effective && (as && bs)) { if (!as->getEffectiveColor().isClose(bs->getEffectiveColor(), 0.001) || - as->offset != bs->offset) { + as->offset != bs->offset || as->opacity != bs->opacity ) { effective = false; break; } |
