From 6a491424677086a84d180ace0b91f1eefaeb67ba Mon Sep 17 00:00:00 2001
From: Dave Parks <davep@lindenlab.com>
Date: Fri, 15 Apr 2011 14:12:12 -0500
Subject: Remove some asserts that cause the physics shape display to error out
 on occasion.

---
 indra/llprimitive/llmodel.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'indra/llprimitive')

diff --git a/indra/llprimitive/llmodel.cpp b/indra/llprimitive/llmodel.cpp
index 03b893de29..5af1122451 100755
--- a/indra/llprimitive/llmodel.cpp
+++ b/indra/llprimitive/llmodel.cpp
@@ -2067,7 +2067,7 @@ void LLModel::Decomposition::fromLLSD(LLSD& decomp)
 			std::set<U64> valid;
 
 			//must have at least 4 points
-			llassert(count > 3);
+			//llassert(count > 3);
 
 			for (U32 j = 0; j < count; ++j)
 			{
@@ -2085,7 +2085,7 @@ void LLModel::Decomposition::fromLLSD(LLSD& decomp)
 			}
 
 			//each hull must contain at least 4 unique points
-			llassert(valid.size() > 3);
+			//llassert(valid.size() > 3);
 		}
 	}
 
-- 
cgit v1.2.3