From 1197a5983c2ea668e8eb932585c5a239e47b12fd Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Mon, 17 Apr 2023 17:28:06 +0200 Subject: [PATCH] compare operation for conic gradients fixed --- src/nodes/QskGradientMaterial.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nodes/QskGradientMaterial.cpp b/src/nodes/QskGradientMaterial.cpp index 3c655a17..164d9f15 100644 --- a/src/nodes/QskGradientMaterial.cpp +++ b/src/nodes/QskGradientMaterial.cpp @@ -555,8 +555,8 @@ namespace const auto mat = static_cast< const ConicMaterial* >( other ); if ( ( m_center != mat->m_center ) - || qskFuzzyCompare( m_start, mat->m_start ) - || qskFuzzyCompare( m_span, mat->m_span ) ) + || !qskFuzzyCompare( m_start, mat->m_start ) + || !qskFuzzyCompare( m_span, mat->m_span ) ) { return QSGMaterial::compare( other ); }