Skip to content

Commit

Permalink
fix clang issue
Browse files Browse the repository at this point in the history
  • Loading branch information
JanCaha committed Feb 26, 2025
1 parent 43b56f8 commit ffe09e1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/app/mesh/qgsmeshtransformcoordinatesdockwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,10 @@ void QgsMeshTransformCoordinatesDockWidget::calculate()
if ( mCheckBoxZFromProjectTerrain->isChecked() )
{
mTransformVertices.setZFromTerrain( mCheckBoxZFromProjectTerrain->isChecked() );
mIsResultValid = mTransformVertices.calculate( mInputLayer, QgsProject::instance() );
}
else
{
mIsResultValid = mTransformVertices.calculate( mInputLayer );
}

mIsResultValid = mTransformVertices.calculate( mInputLayer, QgsProject::instance() );

mIsCalculated = true;
mButtonApply->setEnabled( mIsResultValid );

Expand Down

0 comments on commit ffe09e1

Please sign in to comment.