From b96c6220157807cbfa3568031d5ab688280fe1d6 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 11 Aug 2012 22:12:32 +0000 Subject: style cleanup --- source/blender/collada/ArmatureExporter.cpp | 2 +- source/blender/collada/MeshImporter.cpp | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'source/blender/collada') diff --git a/source/blender/collada/ArmatureExporter.cpp b/source/blender/collada/ArmatureExporter.cpp index c5feb62fd80..30e9baccbf1 100644 --- a/source/blender/collada/ArmatureExporter.cpp +++ b/source/blender/collada/ArmatureExporter.cpp @@ -189,7 +189,7 @@ void ArmatureExporter::add_bone_node(Bone *bone, Object *ob_arm, Scene *sce, #if 0 if (bone->childbase.first == NULL || BLI_countlist(&(bone->childbase)) >= 2) { - add_blender_leaf_bone( bone, ob_arm , node ); + add_blender_leaf_bone( bone, ob_arm, node); } else { #endif diff --git a/source/blender/collada/MeshImporter.cpp b/source/blender/collada/MeshImporter.cpp index ded937bf8f3..8ee30f691ee 100644 --- a/source/blender/collada/MeshImporter.cpp +++ b/source/blender/collada/MeshImporter.cpp @@ -467,12 +467,13 @@ bool MeshImporter::primitive_has_faces(COLLADAFW::MeshPrimitive *mp) { } // ================================================================= -// Return the number of faces by summing up +// Return the number of faces by summing up // the facecounts of the parts. // hint: This is done because mesh->getFacesCount() does // count loose edges as extra faces, which is not what we want here. // ================================================================= -void MeshImporter::allocate_face_data(COLLADAFW::Mesh *mesh, Mesh *me, int new_tris) { +void MeshImporter::allocate_face_data(COLLADAFW::Mesh *mesh, Mesh *me, int new_tris) +{ COLLADAFW::MeshPrimitiveArray& prim_arr = mesh->getMeshPrimitives(); int total_facecount = 0; -- cgit v1.2.3