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 <campbell@blender.org>2022-06-07 07:53:20 +0300
committerCampbell Barton <campbell@blender.org>2022-06-07 08:01:03 +0300
commit263371dc4e217ab38ee30fcb210e3c342c6c60ec (patch)
tree046c7c69b3b712721a96b514e52026917a4f11aa /source/blender/io
parent243891104fce627ced86d39e83d4e2efc1fe58e2 (diff)
Cleanup: spelling in comments, additional white space
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/collada/MeshImporter.h4
-rw-r--r--source/blender/io/stl/importer/stl_import_ascii_reader.hh25
-rw-r--r--source/blender/io/usd/tests/usd_tests_common.h2
3 files changed, 17 insertions, 14 deletions
diff --git a/source/blender/io/collada/MeshImporter.h b/source/blender/io/collada/MeshImporter.h
index 85f960abfe6..416b5728b66 100644
--- a/source/blender/io/collada/MeshImporter.h
+++ b/source/blender/io/collada/MeshImporter.h
@@ -72,7 +72,7 @@ class MeshImporter : public MeshImporterBase {
std::map<std::string, std::string> mesh_geom_map; /* needed for correct shape key naming */
std::map<COLLADAFW::UniqueId, Mesh *> uid_mesh_map; /* geometry unique id-to-mesh map */
- std::map<COLLADAFW::UniqueId, Object *> uid_object_map; /* geom uid-to-object */
+ std::map<COLLADAFW::UniqueId, Object *> uid_object_map; /* geom UID-to-object */
std::vector<Object *> imported_objects; /* list of imported objects */
/* this structure is used to assign material indices to polygons
@@ -86,7 +86,7 @@ class MeshImporter : public MeshImporterBase {
/* crazy name! */
std::map<COLLADAFW::UniqueId, MaterialIdPrimitiveArrayMap> geom_uid_mat_mapping_map;
/* < materials that have already been mapped to a geometry.
- * A pair/of geom uid and mat uid, one geometry can have several materials */
+ * A pair/of geom UID and mat UID, one geometry can have several materials. */
std::multimap<COLLADAFW::UniqueId, COLLADAFW::UniqueId> materials_mapped_to_geom;
bool set_poly_indices(
diff --git a/source/blender/io/stl/importer/stl_import_ascii_reader.hh b/source/blender/io/stl/importer/stl_import_ascii_reader.hh
index b0216d98496..e8aed911bf1 100644
--- a/source/blender/io/stl/importer/stl_import_ascii_reader.hh
+++ b/source/blender/io/stl/importer/stl_import_ascii_reader.hh
@@ -12,17 +12,20 @@
#include "stl_import.hh"
-/* ASCII STL spec.:
- * solid name
- * facet normal ni nj nk
- * outer loop
- * vertex v1x v1y v1z
- * vertex v2x v2y v2z
- * vertex v3x v3y v3z
- * endloop
- * endfacet
- * ...
- * endsolid name
+/**
+ * ASCII STL spec:
+ * <pre>
+ * solid name
+ * facet normal ni nj nk
+ * outer loop
+ * vertex v1x v1y v1z
+ * vertex v2x v2y v2z
+ * vertex v3x v3y v3z
+ * endloop
+ * endfacet
+ * ...
+ * endsolid name
+ * </pre>
*/
namespace blender::io::stl {
diff --git a/source/blender/io/usd/tests/usd_tests_common.h b/source/blender/io/usd/tests/usd_tests_common.h
index 7f6ae558354..949348da959 100644
--- a/source/blender/io/usd/tests/usd_tests_common.h
+++ b/source/blender/io/usd/tests/usd_tests_common.h
@@ -12,7 +12,7 @@ namespace blender::io::usd {
* Thus function must be called before instantiating a USD
* stage to avoid errors. The returned string is the path to
* the USD data files directory from which the plugins were
- * loaded. If the USD data files directory can't be determined,
+ * loaded. If the USD data files directory can't be determined,
* plugin registration is skipped and the empty string is
* returned. */
std::string register_usd_plugins_for_tests();