Commit a3e7a179 authored by Manuel Grizonnet's avatar Manuel Grizonnet

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

parent ffaa378a
......@@ -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;
}
/*******************************************************************************/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment