summaryrefslogtreecommitdiff
path: root/indra/newview/llflexibleobject.cpp
diff options
context:
space:
mode:
authorEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-11-02 12:13:52 -0500
committerEric M. Tulla (BigPapi) <tulla@lindenlab.com>2009-11-02 12:13:52 -0500
commitcdf639087011dc7f4510cedd9951e8d890818b97 (patch)
tree6d70a6994ab11f0677370dda4f80a205d00660a1 /indra/newview/llflexibleobject.cpp
parent7335c6276865061d8b4a549b7cf29f8a8df929a0 (diff)
parent3783852444825edf420e6109927df21fd004c3e7 (diff)
merging in viewer2 changes
--HG-- branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llflexibleobject.cpp')
-rw-r--r--indra/newview/llflexibleobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llflexibleobject.cpp b/indra/newview/llflexibleobject.cpp
index 216bca8262..fc8790c172 100644
--- a/indra/newview/llflexibleobject.cpp
+++ b/indra/newview/llflexibleobject.cpp
@@ -704,7 +704,7 @@ BOOL LLVolumeImplFlexible::doUpdateGeometry(LLDrawable *drawable)
}
if (volume->mLODChanged || volume->mFaceMappingChanged ||
- volume->mVolumeChanged)
+ volume->mVolumeChanged || drawable->isState(LLDrawable::REBUILD_MATERIAL))
{
volume->regenFaces();
volume->mDrawable->setState(LLDrawable::REBUILD_VOLUME);