summaryrefslogtreecommitdiff
path: root/indra/newview/llflexibleobject.cpp
diff options
context:
space:
mode:
authorXiaohong Bao <bao@lindenlab.com>2009-10-30 21:22:47 -0600
committerXiaohong Bao <bao@lindenlab.com>2009-10-30 21:22:47 -0600
commit801301c435414df1e22c321a685044b7cd43055e (patch)
treea037964ae80d938cabd8ad1e656cab0946e7488f /indra/newview/llflexibleobject.cpp
parent361a2277733a0afaf61f6c6150f1933d2e5aceb7 (diff)
fix DEV-41913: parcel media does not display on particle textures.
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);