diff options
author | andreykproductengine <andreykproductengine@lindenlab.com> | 2020-01-23 16:29:43 +0200 |
---|---|---|
committer | andreykproductengine <andreykproductengine@lindenlab.com> | 2020-01-23 16:29:43 +0200 |
commit | 16699fe8a563202c9b53b2f8e80a49c336b518d4 (patch) | |
tree | b00a85448d1e13d7b3f555eada5cbf618fef9cf9 | |
parent | 1c17e51279faba9bda608c70db6e50b25e5714fd (diff) |
SL-12591 Fixed float comparison
-rw-r--r-- | indra/llinventory/llsettingsdaycycle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llinventory/llsettingsdaycycle.cpp b/indra/llinventory/llsettingsdaycycle.cpp index b80e74791e..8498425f4e 100644 --- a/indra/llinventory/llsettingsdaycycle.cpp +++ b/indra/llinventory/llsettingsdaycycle.cpp @@ -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; } |