Commits

davep committed 26c8800

SH-2779 Fix for some transparent rigged attachments not being rendered correctly.

  • Participants
  • Parent commits 7cb6991

Comments (0)

Files changed (1)

File indra/newview/lldrawpoolavatar.cpp

 		LLMatrix3 mat_normal(mat3);				
 
 		//let getGeometryVolume know if alpha should override shiny
-		if (face->getFaceColor().mV[3] < 1.f)
+		U32 type = gPipeline.getPoolTypeFromTE(face->getTextureEntry(), face->getTexture());
+
+		if (type == LLDrawPool::POOL_ALPHA)
 		{
 			face->setPoolType(LLDrawPool::POOL_ALPHA);
 		}