From f1817598b0fe3a86e70e229c0fd38db597e728c5 Mon Sep 17 00:00:00 2001 From: iamAdrianIusca Date: Thu, 23 Apr 2020 22:42:03 +0300 Subject: [PATCH] fix the whitespaces --- code/PostProcessing/LimitBoneWeightsProcess.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/PostProcessing/LimitBoneWeightsProcess.cpp b/code/PostProcessing/LimitBoneWeightsProcess.cpp index 238a9f43e..995a30d8b 100644 --- a/code/PostProcessing/LimitBoneWeightsProcess.cpp +++ b/code/PostProcessing/LimitBoneWeightsProcess.cpp @@ -137,12 +137,12 @@ void LimitBoneWeightsProcess::ProcessMesh(aiMesh* pMesh) // and renormalize the weights float sum = 0.0f; - for (const Weight* it = vit->begin(); it != vit->end(); ++it) { + for(const Weight* it = vit->begin(); it != vit->end(); ++it) { sum += it->mWeight; } if (0.0f != sum) { const float invSum = 1.0f / sum; - for (Weight* it = vit->begin(); it != vit->end(); ++it) { + for(Weight* it = vit->begin(); it != vit->end(); ++it) { it->mWeight *= invSum; } }