Browse Source

fixed tabs

Vincent Gee 10 years ago
parent
commit
7b05314901
1 changed files with 10 additions and 12 deletions
  1. 10 12
      Engine/source/T3D/tsStatic.cpp

+ 10 - 12
Engine/source/T3D/tsStatic.cpp

@@ -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));
-			}
+            }
          }
       }
    }