浏览代码

Tabs n' spaces

Areloch 7 年之前
父节点
当前提交
0492dd8b96
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. 7 7
      Engine/source/gui/editor/guiShapeEdPreview.cpp

+ 7 - 7
Engine/source/gui/editor/guiShapeEdPreview.cpp

@@ -1167,15 +1167,15 @@ void GuiShapeEdPreview::computeSceneBounds(Box3F& bounds)
 
    if (bounds.getExtents().x < POINT_EPSILON || bounds.getExtents().y < POINT_EPSILON || bounds.getExtents().z < POINT_EPSILON)
    {
-	   bounds.set(Point3F::Zero);
+      bounds.set(Point3F::Zero);
 
-	   //We probably don't have any actual meshes in this model, so compute using the bones if we have them
-	   for (S32 i = 0; i < mModel->getShape()->nodes.size(); i++)
-	   {
-		   Point3F nodePos = mModel->mNodeTransforms[i].getPosition();
+      //We probably don't have any actual meshes in this model, so compute using the bones if we have them
+      for (S32 i = 0; i < mModel->getShape()->nodes.size(); i++)
+      {
+         Point3F nodePos = mModel->mNodeTransforms[i].getPosition();
 
-		   bounds.extend(nodePos);
-	   }
+         bounds.extend(nodePos);
+      }
    }
 }