From f38a855a739d110175b8c85a5f3b8971be841d7b Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Tue, 21 Jun 2011 09:53:34 +0000 Subject: [PATCH] Conveted tabs to four spaces and added a return to end of file --- src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp | 2 +- src/osgPlugins/fbx/fbxRLight.cpp | 4 ++-- src/osgPlugins/fbx/fbxRMesh.cpp | 8 ++++---- src/osgPlugins/fbx/fbxRNode.cpp | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp b/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp index bfb80da17..c8569aa66 100644 --- a/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp +++ b/src/osgPlugins/fbx/fbxMaterialToOsgStateSet.cpp @@ -237,4 +237,4 @@ void FbxMaterialToOsgStateSet::checkInvertTransparency() pMaterial->setDiffuse(osg::Material::FRONT_AND_BACK, diffuse); } } -} \ No newline at end of file +} diff --git a/src/osgPlugins/fbx/fbxRLight.cpp b/src/osgPlugins/fbx/fbxRLight.cpp index d7699bbfb..594e3e31f 100644 --- a/src/osgPlugins/fbx/fbxRLight.cpp +++ b/src/osgPlugins/fbx/fbxRLight.cpp @@ -56,8 +56,8 @@ osgDB::ReaderWriter::ReadResult OsgFbxReader::readFbxLight(KFbxNode* pNode, int& switch (fbxLight->DecayType.Get()) { - case KFbxLight::eNONE: - break; + case KFbxLight::eNONE: + break; case KFbxLight::eLINEAR: osgLight->setLinearAttenuation(fbxDecayStart); break; diff --git a/src/osgPlugins/fbx/fbxRMesh.cpp b/src/osgPlugins/fbx/fbxRMesh.cpp index 36e012a78..1efd6f6bf 100644 --- a/src/osgPlugins/fbx/fbxRMesh.cpp +++ b/src/osgPlugins/fbx/fbxRMesh.cpp @@ -87,8 +87,8 @@ int getVertexIndex(const KFbxLayerElementTemplate* pLayerElement, case KFbxLayerElement::eBY_POLYGON: index = nPolygon; break; - default: - OSG_WARN << "getVertexIndex: unsupported FBX mapping mode" << std::endl; + default: + OSG_WARN << "getVertexIndex: unsupported FBX mapping mode" << std::endl; } if (pLayerElement->GetReferenceMode() == KFbxLayerElement::eDIRECT) @@ -111,8 +111,8 @@ int getPolygonIndex(const KFbxLayerElementTemplate* pLayerElement, int nPolyg return nPolygon; case KFbxLayerElement::eINDEX_TO_DIRECT: return pLayerElement->GetIndexArray().GetAt(nPolygon); - default: - break; + default: + break; } } diff --git a/src/osgPlugins/fbx/fbxRNode.cpp b/src/osgPlugins/fbx/fbxRNode.cpp index 2808b1296..65b9b0ecd 100644 --- a/src/osgPlugins/fbx/fbxRNode.cpp +++ b/src/osgPlugins/fbx/fbxRNode.cpp @@ -568,8 +568,8 @@ osgDB::ReaderWriter::ReadResult OsgFbxReader::readFbxNode( } } break; - default: - break; + default: + break; } if (bEmpty)