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)

This commit is contained in:
Shyotl
2012-07-02 00:50:55 -05:00
parent 4ba1509371
commit 53a570b977

View File

@@ -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));