diff options
author | Steven Bennetts <steve@lindenlab.com> | 2008-04-17 02:25:04 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2008-04-17 02:25:04 +0000 |
commit | d2597d35cf3aeaf0c47a134dfe9119ef7932b98a (patch) | |
tree | 73c9e027e31810a582dfaeeaae6c51ef7208d6d1 /indra/newview/llvovolume.cpp | |
parent | c57beb8b4bd51add9a92ddc4d704e7bea9c4d940 (diff) |
Undid previous commit (bogus merge)
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rw-r--r-- | indra/newview/llvovolume.cpp | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index ce4a660682..2b8cf93b2d 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -741,23 +741,7 @@ void LLVOVolume::sculpt() S32 current_discard = getVolume()->getSculptLevel(); - if(current_discard < -2) - { - llwarns << "WARNING!!: Current discard of sculpty at " << current_discard - << " is less than -2." << llendl; - - // corrupted volume... don't update the sculpty - return; - } - else if (current_discard > max_discard) - { - llwarns << "WARNING!!: Current discard of sculpty at " << current_discard - << " is more than than allowed max of " << max_discard << llendl; - - // corrupted volume... don't update the sculpty - return; - } - + llassert_always(current_discard >= -2 && current_discard <= max_discard); if (current_discard == discard_level) // no work to do here return; |