Fixed avatars being invisible when using legacy path. Assumption of no shader use when LLGLSLShader::sNoFixedFunctionis false is not valid with Singularity.
This commit is contained in:
@@ -826,7 +826,8 @@ void LLDrawPoolAvatar::beginSkinned()
|
||||
}
|
||||
}
|
||||
|
||||
if (LLGLSLShader::sNoFixedFunction)
|
||||
//if (LLGLSLShader::sNoFixedFunction) //Singu Note: sNoFixedFunction being false does not imply shaders are off, unlike in V3.
|
||||
if (gPipeline.canUseVertexShaders()) //Check if shaders are REALLY used.
|
||||
{
|
||||
sVertexProgram->setAlphaRange(0.2f, 1.f);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user