Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-10-14 06:43:54 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-10-14 06:43:54 +0300
commitdeca7c795411975e3bfb11cd6934ace768be772b (patch)
treeed90e9acb30ea57510edf3dd4228ff93074f0f9f /source/blender/io
parent2cc7be3e4907a0f9ed508b278cae987b35b2f503 (diff)
Cleanup: spelling
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/collada/MeshImporter.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/io/collada/MeshImporter.cpp b/source/blender/io/collada/MeshImporter.cpp
index b0e3270a899..7d5cd671b73 100644
--- a/source/blender/io/collada/MeshImporter.cpp
+++ b/source/blender/io/collada/MeshImporter.cpp
@@ -422,8 +422,8 @@ static std::string extract_vcolname(const COLLADAFW::String &collada_id)
/* =================================================================
* Return the number of faces by summing up
- * the facecounts of the parts.
- * hint: This is done because mesh->getFacesCount() does
+ * the face-counts 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_poly_data(COLLADAFW::Mesh *collada_mesh, Mesh *me)
@@ -674,7 +674,7 @@ void MeshImporter::read_polys(COLLADAFW::Mesh *collada_mesh, Mesh *me)
Primitive prim = {mpoly, 0};
/* If MeshPrimitive is TRIANGLE_FANS we split it into triangles
- * The first trifan vertex will be the first vertex in every triangle
+ * The first triangle-fan vertex will be the first vertex in every triangle
* XXX The proper function of TRIANGLE_FANS is not tested!!!
* XXX In particular the handling of the normal_indices looks very wrong to me */
if (collada_meshtype == COLLADAFW::MeshPrimitive::TRIANGLE_FANS) {