SL-12591 Fixed float comparison

master
andreykproductengine 2020-01-23 16:29:43 +02:00
parent 1c17e51279
commit 16699fe8a5
1 changed files with 1 additions and 1 deletions

View File

@ -724,7 +724,7 @@ bool LLSettingsDay::moveTrackKeyframe(S32 trackno, const LLSettingsBase::TrackPo
return false;
}
if (old_frame == new_frame)
if (llabs(old_frame - new_frame) < F_APPROXIMATELY_ZERO)
{
return false;
}