Skip to content
Permalink
Browse files

fix build

  • Loading branch information
jef-n committed Nov 4, 2020
1 parent d446600 commit 31bc1e8b5a168a27e43f02940e25b57a6b54bb6d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/analysis/processing/qgsalgorithmexportmesh.cpp
@@ -34,13 +34,13 @@ static QgsFields createFields( const QList<QgsMeshDatasetGroupMetadata> &groupMe
{
if ( meta.isVector() )
{
if ( vectorOption == 0 or vectorOption == 2 )
if ( vectorOption == 0 || vectorOption == 2 )
{
fields.append( QStringLiteral( "%1_x" ).arg( meta.name() ) );
fields.append( QStringLiteral( "%1_y" ).arg( meta.name() ) );
}

if ( vectorOption == 1 or vectorOption == 2 )
if ( vectorOption == 1 || vectorOption == 2 )
{
fields.append( QStringLiteral( "%1_mag" ).arg( meta.name() ) );
fields.append( QStringLiteral( "%1_dir" ).arg( meta.name() ) );

0 comments on commit 31bc1e8

Please sign in to comment.
You can’t perform that action at this time.