Use exact value comparison in caching related functions
(cherry picked from commit 9d7c6b26422e127719836944d8d473910190e7d4)
This commit is contained in:
@@ -60,7 +60,7 @@ float StaticModel::GetBoundsScale() const
|
||||
|
||||
void StaticModel::SetBoundsScale(float value)
|
||||
{
|
||||
if (Math::NearEqual(_boundsScale, value))
|
||||
if (_boundsScale == value)
|
||||
return;
|
||||
|
||||
_boundsScale = value;
|
||||
|
||||
Reference in New Issue
Block a user