diff options
Diffstat (limited to 'indra/newview/llflexibleobject.cpp')
-rw-r--r-- | indra/newview/llflexibleobject.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llflexibleobject.cpp b/indra/newview/llflexibleobject.cpp index 4f821a7978..5e105ac7e2 100644 --- a/indra/newview/llflexibleobject.cpp +++ b/indra/newview/llflexibleobject.cpp @@ -185,9 +185,13 @@ void LLVolumeImplFlexible::setAttributesOfAllSections() end_rot = F_PI * params.getTwist(); } + if (!mVO->mDrawable) + { + return; + } + S32 num_sections = 1 << mSimulateRes; - LLVector3 scale = mVO->mDrawable->getScale(); mSection[0].mPosition = getAnchorPosition(); |