fixed tabs

This commit is contained in:
Vincent Gee 2014-11-06 10:44:55 -05:00
parent c4e3a68f7c
commit 7b05314901

View file

@ -520,28 +520,26 @@ void TSStatic::prepRenderImage( SceneRenderState* state )
if ((mAlphaLODStart < mAlphaLODEnd) && mAlphaLODStart > 0.1f)
{
if (mInvertAlphaLod)
{
{
if (dist <= mAlphaLODStart)
{
{
return;
}
}
if (dist < mAlphaLODEnd)
{
{
mAlphaLOD = ((dist - mAlphaLODStart) / (mAlphaLODEnd - mAlphaLODStart));
}
}
}
else
{
{
if (dist >= mAlphaLODEnd)
{
{
return;
}
}
if (dist > mAlphaLODStart)
{
{
mAlphaLOD -= ((dist - mAlphaLODStart) / (mAlphaLODEnd - mAlphaLODStart));
}
}
}
}
}