SL-12591 Fixed float comparison
parent
1c17e51279
commit
16699fe8a5
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue