Added missing initialization

p4#: 19276
This commit is contained in:
CeetronResInsight 2012-10-23 13:37:41 +02:00
parent 59afd98167
commit 998d67c536

View File

@ -37,7 +37,8 @@ ScalarMapperRangeBased::ScalarMapperRangeBased()
m_rangeMax(cvf::UNDEFINED_DOUBLE),
m_decadeLevelCount(1),
m_levelCount(8),
m_textureSize(2048) // Large enough, I guess and a power of two
m_textureSize(2048), // Large enough, I guess and a power of two
m_adjustLevels(true)
{
m_colors.resize(m_textureSize);
m_colors.setAll(Color3ub::WHITE);