From 9118cafb229bafef171f23b887fdd531834576ae Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Thu, 30 May 2019 12:59:51 -0700 Subject: SL-11327 Soften assert on non-finite data in LLCoordFrame until we can isolate conditions to repro the assert. --- indra/llmath/llcoordframe.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'indra/llmath') diff --git a/indra/llmath/llcoordframe.cpp b/indra/llmath/llcoordframe.cpp index f345e8e870..b25fd948f5 100644 --- a/indra/llmath/llcoordframe.cpp +++ b/indra/llmath/llcoordframe.cpp @@ -34,18 +34,18 @@ #include "llquaternion.h" #include "llcoordframe.h" -#define CHECK_FINITE(var) \ - if (!var.isFinite()) \ - { \ - LL_ERRS() << "Non Finite " << std::string(#var) << LL_ENDL; \ - reset(); \ +#define CHECK_FINITE(var) \ + if (!var.isFinite()) \ + { \ + LL_WARNS() << "Non Finite " << std::string(#var) << LL_ENDL; \ + reset(); \ } -#define CHECK_FINITE_OBJ() \ - if (!isFinite()) \ - { \ - LL_ERRS() << "Non Finite in LLCoordFrame " << LL_ENDL; \ - reset(); \ +#define CHECK_FINITE_OBJ() \ + if (!isFinite()) \ + { \ + LL_WARNS() << "Non Finite in LLCoordFrame " << LL_ENDL; \ + reset(); \ } #ifndef X_AXIS -- cgit v1.2.3