SL-15940 Limit wasn't adjusting for a model with less than 30 triangles
parent
3772249c2f
commit
bac30c9ba5
|
|
@ -2945,7 +2945,7 @@ void LLModelPreview::updateLodControls(S32 lod)
|
|||
threshold->setVisible(false);
|
||||
|
||||
limit->setMaxValue(mMaxTriangleLimit);
|
||||
limit->setIncrement(mMaxTriangleLimit / 32);
|
||||
limit->setIncrement(llmax((U32)1, mMaxTriangleLimit / 32));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue