Skip to content
Permalink
Browse files
Remove obsolete warnings
  • Loading branch information
mhugent authored and github-actions committed Dec 23, 2021
1 parent 7f46e6b commit 8967ede0be66e26c1739c5c237fc848d80e0fd10
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/vectortile/qgsmapboxglstyleconverter.cpp
@@ -282,7 +282,6 @@ bool QgsMapBoxGlStyleConverter::parseFillLayer( const QVariantMap &jsonLayer, Qg
case QVariant::Map:
if ( ddProperties.isActive( QgsSymbolLayer::PropertyFillColor ) )
{
context.pushWarning( QObject::tr( "%1: Could not set opacity of layer, opacity already defined in fill color" ).arg( context.layerId() ) );
symbol->setDataDefinedProperty( QgsSymbol::PropertyOpacity, parseInterpolateOpacityByZoom( jsonFillOpacity.toMap(), 255, &context ) );
}
else
@@ -297,7 +296,6 @@ bool QgsMapBoxGlStyleConverter::parseFillLayer( const QVariantMap &jsonLayer, Qg
case QVariant::StringList:
if ( ddProperties.isActive( QgsSymbolLayer::PropertyFillColor ) )
{
context.pushWarning( QObject::tr( "%1: Could not set opacity of layer, opacity already defined in fill color" ).arg( context.layerId() ) );
symbol->setDataDefinedProperty( QgsSymbol::PropertyOpacity, parseValueList( jsonFillOpacity.toList(), PropertyType::Numeric, context, 100, 100 ) );
}
else

0 comments on commit 8967ede

Please sign in to comment.