Skip to content

Commit

Permalink
GRASS no data value fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed May 8, 2013
1 parent fa348e1 commit 37bad5b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/providers/grass/qgsgrassrasterprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ QgsGrassRasterProvider::QgsGrassRasterProvider( QString const & uri )
myInternalNoDataValue = std::numeric_limits<float>::quiet_NaN();
}
mNoDataValue = myInternalNoDataValue;
mSrcHasNoDataValue.append( true );
mUseSrcNoDataValue.append( true );
QgsDebugMsg( QString( "myInternalNoDataValue = %1" ).arg( myInternalNoDataValue ) );

// TODO: refresh mRows and mCols if raster was rewritten
Expand Down

0 comments on commit 37bad5b

Please sign in to comment.