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:
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user