summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-30 12:59:51 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-30 12:59:51 -0700
commit9118cafb229bafef171f23b887fdd531834576ae (patch)
tree44798ed4c9ef02a020b5c0e991a1aad7c24745b2
parent2f2cf6d855e1e5977ef0ed3583238636e890220a (diff)
SL-11327
Soften assert on non-finite data in LLCoordFrame until we can isolate conditions to repro the assert.
-rw-r--r--indra/llmath/llcoordframe.cpp20
1 files changed, 10 insertions, 10 deletions
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