Skip to content
Snippets Groups Projects
Commit a3e7a179 authored by Manuel Grizonnet's avatar Manuel Grizonnet
Browse files

BUG: mantis 1292 - use nodata only if nodata value are read in the image

parent ffaa378a
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ ImageSettings::ImageSettings()
m_MaxGreen( 255 ),
m_MinBlue( 0 ),
m_MaxBlue( 255 ),
m_UseNoData( true ),
m_UseNoData( false ),
m_NoData( 0 ),
m_Gamma( 1. ),
m_Alpha( 1. ),
......
......@@ -75,7 +75,7 @@ ImageProperties
m_Flags(),
m_NoData( ComponentType( 0 ) )
{
m_Flags.m_NoData = true;
m_Flags.m_NoData = false;
}
/*******************************************************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment