summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2010-09-28 13:53:09 -0500
committerDave Parks <davep@lindenlab.com>2010-09-28 13:53:09 -0500
commit3dff1e8e6fbc2d4288e738c4a27443a9a34e22d0 (patch)
tree14c41ae746f6f974173565ed8460d6f18ea46915 /indra
parentfae96a240a916e91d533a51a74db03bbfae57a51 (diff)
Fix for crash when updating flexis.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llflexibleobject.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llflexibleobject.cpp b/indra/newview/llflexibleobject.cpp
index 62336b03bf..ccc3d90059 100644
--- a/indra/newview/llflexibleobject.cpp
+++ b/indra/newview/llflexibleobject.cpp
@@ -698,6 +698,8 @@ BOOL LLVolumeImplFlexible::doUpdateGeometry(LLDrawable *drawable)
}
volume->updateRelativeXform();
+
+ if (mRenderRes > -1)
{
LLFastTimer t(FTM_DO_FLEXIBLE_UPDATE);
doFlexibleUpdate();