From 53a570b977d7ffff7247925cd6156b4abc274e5f Mon Sep 17 00:00:00 2001 From: Shyotl Date: Mon, 2 Jul 2012 00:50:55 -0500 Subject: [PATCH] Push drawables into priority queue when their textures change number of components. (Quick and dirty fix for alpha faces not being placed into alpha pool until some other irrelivant rebuild state is set) --- indra/newview/llvovolume.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llvovolume.cpp b/indra/newview/llvovolume.cpp index adbb292e7..1ae31e9b3 100644 --- a/indra/newview/llvovolume.cpp +++ b/indra/newview/llvovolume.cpp @@ -1433,7 +1433,7 @@ BOOL LLVOVolume::updateGeometry(LLDrawable *drawable) return TRUE; // No update to complete } - if (mVolumeChanged || mFaceMappingChanged ) + if (mVolumeChanged || mFaceMappingChanged || mDrawable->isState(LLDrawable::REBUILD_MATERIAL)) { dirtySpatialGroup(drawable->isState(LLDrawable::IN_REBUILD_Q1));