mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-01 13:35:33 +00:00
example browser: fix 'clamp-to-integer' on GUI-sliders
This commit is contained in:
@@ -237,7 +237,7 @@ void GwenParameterInterface::registerSliderFloatParameter(SliderParams& params)
|
||||
if (params.m_clampToIntegers)
|
||||
{
|
||||
pSlider->SetNotchCount( int( params.m_maxVal - params.m_minVal ) );
|
||||
pSlider->SetClampToNotches( params.m_clampToNotches );
|
||||
pSlider->SetClampToNotches( true );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user