Skip to content
Permalink
Browse files
save raster useSrcNoData option in project (#10236)
  • Loading branch information
etiennesky committed May 15, 2014
1 parent ecf2600 commit 061941e1195144c024e0c082a88c7d51674aa452
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/core/raster/qgsrasterlayer.cpp
@@ -1504,8 +1504,6 @@ bool QgsRasterLayer::writeXml( QDomNode & layer_node,

for ( int bandNo = 1; bandNo <= mDataProvider->bandCount(); bandNo++ )
{
if ( mDataProvider->userNoDataValues( bandNo ).isEmpty() ) continue;

QDomElement noDataRangeList = document.createElement( "noDataList" );
noDataRangeList.setAttribute( "bandNo", bandNo );
noDataRangeList.setAttribute( "useSrcNoData", mDataProvider->useSrcNoDataValue( bandNo ) );

0 comments on commit 061941e

Please sign in to comment.