aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llflexibleobject.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:48 -0500
committerJacek Antonelli2008-08-15 23:44:48 -0500
commit9b4f54c826ffa4f94efa866068c9d6ecdfb4b424 (patch)
tree2f8ae193ab487088962e628f1ee9dee2f5901f01 /linden/indra/newview/llflexibleobject.cpp
parentSecond Life viewer sources 1.13.2.12 (diff)
downloadmeta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.zip
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.gz
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.bz2
meta-impy-9b4f54c826ffa4f94efa866068c9d6ecdfb4b424.tar.xz
Second Life viewer sources 1.13.2.15
Diffstat (limited to 'linden/indra/newview/llflexibleobject.cpp')
-rw-r--r--linden/indra/newview/llflexibleobject.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llflexibleobject.cpp b/linden/indra/newview/llflexibleobject.cpp
index 7e748f6..7e37c4c 100644
--- a/linden/indra/newview/llflexibleobject.cpp
+++ b/linden/indra/newview/llflexibleobject.cpp
@@ -204,9 +204,13 @@ void LLVolumeImplFlexible::setAttributesOfAllSections()
204 end_rot = F_PI * params.getTwist(); 204 end_rot = F_PI * params.getTwist();
205 } 205 }
206 206
207 if (!mVO->mDrawable)
208 {
209 return;
210 }
211
207 S32 num_sections = 1 << mSimulateRes; 212 S32 num_sections = 1 << mSimulateRes;
208 213
209
210 LLVector3 scale = mVO->mDrawable->getScale(); 214 LLVector3 scale = mVO->mDrawable->getScale();
211 215
212 mSection[0].mPosition = getAnchorPosition(); 216 mSection[0].mPosition = getAnchorPosition();