Skip to content

Commit

Permalink
qgsmesh3dmaterial_p.cpp: fix compiler warning by providing argument o…
Browse files Browse the repository at this point in the history
…f appropriate type
  • Loading branch information
rouault authored and nyalldawson committed May 29, 2020
1 parent c8a64de commit 4059119
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/3d/mesh/qgsmesh3dmaterial_p.cpp
Expand Up @@ -330,7 +330,7 @@ void QgsMesh3dMaterial::configureArrows( QgsMeshLayer *layer, const QgsDateTimeR
QVector<QgsVector> vectors;
QSize gridSize;
QgsPointXY minCorner;
Qt3DRender::QParameter *arrowsEnabledParameter = new Qt3DRender::QParameter( "arrowsEnabled", false );
Qt3DRender::QParameter *arrowsEnabledParameter = new Qt3DRender::QParameter( "arrowsEnabled", nullptr );
if ( mMagnitudeType != MagnitudeType::ScalarDataSet || !mSymbol.arrowsEnabled() || meta.isScalar() || !datasetIndex.isValid() )
arrowsEnabledParameter->setValue( false );
else
Expand Down

0 comments on commit 4059119

Please sign in to comment.