From 998d67c53602e342b5eddcbeb695fc1c7f3ea5d0 Mon Sep 17 00:00:00 2001 From: CeetronResInsight Date: Tue, 23 Oct 2012 13:37:41 +0200 Subject: [PATCH] Added missing initialization p4#: 19276 --- VisualizationModules/LibRender/cvfScalarMapperRangeBased.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VisualizationModules/LibRender/cvfScalarMapperRangeBased.cpp b/VisualizationModules/LibRender/cvfScalarMapperRangeBased.cpp index 890a19112c..5110300155 100644 --- a/VisualizationModules/LibRender/cvfScalarMapperRangeBased.cpp +++ b/VisualizationModules/LibRender/cvfScalarMapperRangeBased.cpp @@ -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);