[Bf-blender-cvs] [19f926f593e] soc-2020-io-performance: Importer: Cleanup: Spellings

Ankit Meel noreply at git.blender.org
Mon Nov 16 11:16:12 CET 2020


Commit: 19f926f593eeb34abfe4b955086b312dbd5f76ad
Author: Ankit Meel
Date:   Mon Nov 16 02:54:30 2020 +0530
Branches: soc-2020-io-performance
https://developer.blender.org/rB19f926f593eeb34abfe4b955086b312dbd5f76ad

Importer: Cleanup: Spellings

===================================================================

M	source/blender/io/wavefront_obj/importer/obj_import_mesh.cc
M	source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
M	source/blender/io/wavefront_obj/importer/obj_import_objects.hh

===================================================================

diff --git a/source/blender/io/wavefront_obj/importer/obj_import_mesh.cc b/source/blender/io/wavefront_obj/importer/obj_import_mesh.cc
index a0224bc134d..2cf890e737d 100644
--- a/source/blender/io/wavefront_obj/importer/obj_import_mesh.cc
+++ b/source/blender/io/wavefront_obj/importer/obj_import_mesh.cc
@@ -234,7 +234,7 @@ void MeshFromGeometry::create_vertices()
  * Create polygons for the Mesh, set smooth shading flag, deform group name, assigned material
  * also.
  *
- * It must recieve all polygons to be added to the mesh. Remove holes from polygons before
+ * It must receive all polygons to be added to the mesh. Remove holes from polygons before
  * calling this.
  */
 void MeshFromGeometry::create_polys_loops(Span<FaceElement> all_faces)
diff --git a/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc b/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
index f8d7aa49926..c988974a1ae 100644
--- a/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
+++ b/source/blender/io/wavefront_obj/importer/obj_import_mtl.cc
@@ -115,7 +115,7 @@ static bool load_texture_image(Main *bmain, const tex_map_XX &tex_map, bNode *r_
 }
 
 /**
- * Initialises a nodetree with a p-BSDF node's BSDF socket connected to shader output node's
+ * Initializes a nodetree with a p-BSDF node's BSDF socket connected to shader output node's
  * surface socket.
  */
 ShaderNodetreeWrap::ShaderNodetreeWrap(Main *bmain, const MTLMaterial &mtl_mat) : mtl_mat_(mtl_mat)
diff --git a/source/blender/io/wavefront_obj/importer/obj_import_objects.hh b/source/blender/io/wavefront_obj/importer/obj_import_objects.hh
index da156c39117..8e7acb60a9a 100644
--- a/source/blender/io/wavefront_obj/importer/obj_import_objects.hh
+++ b/source/blender/io/wavefront_obj/importer/obj_import_objects.hh
@@ -72,7 +72,7 @@ struct VertexIndexOffset {
 struct FaceCorner {
   /* These indices range from zero to total vertices in the OBJ file. */
   int vert_index;
-  /* -1 is to indicate abscense of UV vertices. Only < 0 condition should be checked since
+  /* -1 is to indicate absence of UV vertices. Only < 0 condition should be checked since
    * it can be less than -1 too. */
   int uv_vert_index = -1;
   int vertex_normal_index;
@@ -116,7 +116,7 @@ class Geometry {
   std::string geometry_name_{};
   VectorSet<std::string> material_names_{};
   /**
-   * Indices in the vector range from zero to total vertices in a geomery.
+   * Indices in the vector range from zero to total vertices in a geometry.
    * Values range from zero to total coordinates in the global list.
    */
   Vector<int> vertex_indices_;



More information about the Bf-blender-cvs mailing list