Modified CRASH assert to not occur in release mode per Richard

meow-7.2.2
Leslie Linden 2012-01-04 17:37:57 -08:00
parent 990b5aea2b
commit 9c8f6ba6a5
1 changed files with 2 additions and 1 deletions

View File

@ -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)
{