Cleanup. Applied http://hg.secondlife.com/mesh-development/changeset/3031f266784a
This commit is contained in:
@@ -3678,12 +3678,8 @@ void LLVolumeGeometryManager::genDrawInfo(LLSpatialGroup* group, U32 mask, std::
|
||||
|
||||
U32 te_idx = facep->getTEOffset();
|
||||
|
||||
if (facep->getGeometryVolume(*volume, te_idx,
|
||||
vobj->getRelativeXform(), vobj->getRelativeXformInvTrans(), index_offset))
|
||||
{
|
||||
buffer->markDirty(facep->getGeomIndex(), facep->getGeomCount(),
|
||||
facep->getIndicesStart(), facep->getIndicesCount());
|
||||
}
|
||||
facep->getGeometryVolume(*volume, te_idx,
|
||||
vobj->getRelativeXform(), vobj->getRelativeXformInvTrans(), index_offset);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3709,9 +3705,9 @@ void LLVolumeGeometryManager::genDrawInfo(LLSpatialGroup* group, U32 mask, std::
|
||||
// can we safely treat this as an alpha mask?
|
||||
if (facep->canRenderAsMask())
|
||||
{
|
||||
const LLDrawable* drawablep = facep->getDrawable();
|
||||
const LLVOVolume* vobj = drawablep ? drawablep->getVOVolume() : NULL;
|
||||
if (te->getFullbright() || (vobj && vobj->isHUDAttachment()))
|
||||
//const LLDrawable* drawablep = facep->getDrawable();
|
||||
//const LLVOVolume* vobj = drawablep ? drawablep->getVOVolume() : NULL;
|
||||
if (te->getFullbright() /*|| (vobj && vobj->isHUDAttachment())*/)
|
||||
{
|
||||
registerFace(group, facep, LLRenderPass::PASS_FULLBRIGHT_ALPHA_MASK);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user