summaryrefslogtreecommitdiff
path: root/indra/newview/llvovolume.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-09-22 17:33:17 -0500
committerDave Parks <davep@lindenlab.com>2010-09-22 17:33:17 -0500
commitbc4dcef7af8f905df81ca6b7ba21cc9e34a506e9 (patch)
treefa94bfa8560bc86501049f8fa825aeb86816ddb8 /indra/newview/llvovolume.cpp
parenta5fc11ea21ad8ac9bf6a4be97c16fe977db40175 (diff)
SH-93 Disable mirror/invert check boxes when sculpt type is set to mesh. Also fixed a crash when switching sculpt type from mesh to sphere.
Diffstat (limited to 'indra/newview/llvovolume.cpp')
-rwxr-xr-xindra/newview/llvovolume.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp
index 4ef050e71f..d96b6eccb1 100755
--- a/indra/newview/llvovolume.cpp
+++ b/indra/newview/llvovolume.cpp
@@ -1354,6 +1354,9 @@ BOOL LLVOVolume::genBBoxes(BOOL force_global)
LLVector4a min,max;
+ min.clear();
+ max.clear();
+
BOOL rebuild = mDrawable->isState(LLDrawable::REBUILD_VOLUME | LLDrawable::REBUILD_POSITION | LLDrawable::REBUILD_RIGGED);
// bool rigged = false;