From 9c8f6ba6a51b799d16e89e995bbcf3b0dcc15c62 Mon Sep 17 00:00:00 2001
From: Leslie Linden <leslie@lindenlab.com>
Date: Wed, 4 Jan 2012 17:37:57 -0800
Subject: [PATCH] Modified CRASH assert to not occur in release mode per
 Richard

---
 indra/llui/llview.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp
index 15293817736..542f57ee5fd 100644
--- a/indra/llui/llview.cpp
+++ b/indra/llui/llview.cpp
@@ -282,7 +282,8 @@ void LLView::moveChildToBackOfTabGroup(LLUICtrl* child)
 // virtual
 bool LLView::addChild(LLView* child, S32 tab_group)
 {
-	llassert_always(mInDraw == false);
+	// NOTE: Changed this to not crash in release mode
+	llassert(mInDraw == false);
 
 	if (!child)
 	{
-- 
GitLab