Merge remote-tracking branch 'bp/master'

This commit is contained in:
Erwin Coumans 2017-06-04 22:12:42 -07:00
commit 88c743b5ce

View File

@ -237,7 +237,7 @@ void GwenParameterInterface::registerSliderFloatParameter(SliderParams& params)
if (params.m_clampToIntegers) if (params.m_clampToIntegers)
{ {
pSlider->SetNotchCount( int( params.m_maxVal - params.m_minVal ) ); pSlider->SetNotchCount( int( params.m_maxVal - params.m_minVal ) );
pSlider->SetClampToNotches( params.m_clampToNotches ); pSlider->SetClampToNotches( true );
} }
else else
{ {