Skip to content
Snippets Groups Projects
Commit ccf751e7 authored by David Parks's avatar David Parks
Browse files

SH-2370 Fix for alpha masked objects not getting highlighted when highlight transparent enabled.

parent 22d52ab5
No related branches found
No related tags found
No related merge requests found
...@@ -333,6 +333,10 @@ void LLDrawPoolAlpha::render(S32 pass) ...@@ -333,6 +333,10 @@ void LLDrawPoolAlpha::render(S32 pass)
gGL.getTexUnit(0)->bind(LLViewerFetchedTexture::sSmokeImagep, TRUE) ; gGL.getTexUnit(0)->bind(LLViewerFetchedTexture::sSmokeImagep, TRUE) ;
renderAlphaHighlight(LLVertexBuffer::MAP_VERTEX | renderAlphaHighlight(LLVertexBuffer::MAP_VERTEX |
LLVertexBuffer::MAP_TEXCOORD0); LLVertexBuffer::MAP_TEXCOORD0);
pushBatches(LLRenderPass::PASS_ALPHA_MASK, LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0, FALSE);
pushBatches(LLRenderPass::PASS_FULLBRIGHT_ALPHA_MASK, LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0, FALSE);
if(shaders) if(shaders)
{ {
gHighlightProgram.unbind(); gHighlightProgram.unbind();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment