From 9118cafb229bafef171f23b887fdd531834576ae Mon Sep 17 00:00:00 2001
From: Graham Linden <graham@lindenlab.com>
Date: Thu, 30 May 2019 12:59:51 -0700
Subject: [PATCH] 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(-)

diff --git a/indra/llmath/llcoordframe.cpp b/indra/llmath/llcoordframe.cpp
index f345e8e870d..b25fd948f5d 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
-- 
GitLab