[Bf-blender-cvs] [016253a6481] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Sat Jul 18 06:29:49 CEST 2020


Commit: 016253a6481c6bf7cd9931cf646f983f57d86746
Author: Campbell Barton
Date:   Sat Jul 18 14:27:53 2020 +1000
Branches: master
https://developer.blender.org/rB016253a6481c6bf7cd9931cf646f983f57d86746

Cleanup: spelling

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

M	source/blender/editors/space_file/fsmenu.c
M	source/blender/gpu/intern/gpu_matrix.c
M	source/blender/io/alembic/intern/abc_reader_object.cc
M	source/blender/io/usd/tests/usd_stage_creation_test.cc

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

diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index 4b329ab4524..b1c94c2668f 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -938,7 +938,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
 
       fp = setmntent(MOUNTED, "r");
       if (fp == NULL) {
-        fprintf(stderr, "could not get a list of mounted filesystems\n");
+        fprintf(stderr, "could not get a list of mounted file-systems\n");
       }
       else {
         while ((mnt = getmntent(fp))) {
diff --git a/source/blender/gpu/intern/gpu_matrix.c b/source/blender/gpu/intern/gpu_matrix.c
index 8df7c7c5d2f..d0f7eab32a3 100644
--- a/source/blender/gpu/intern/gpu_matrix.c
+++ b/source/blender/gpu/intern/gpu_matrix.c
@@ -742,8 +742,8 @@ int GPU_matrix_stack_level_get_projection(void)
 /* -------------------------------------------------------------------- */
 /** \name Polygon Offset Hack
  *
- * Workaround the fact that PolygonOffset is implementation dependant.
- * We modify the projection matrix (winmat) in order to change the final depth a tiny amount.
+ * Workaround the fact that polygon-offset is implementation dependent.
+ * We modify the projection matrix \a winmat in order to change the final depth a tiny amount.
  * \{ */
 
 float GPU_polygon_offset_calc(const float (*winmat)[4], float viewdist, float dist)
diff --git a/source/blender/io/alembic/intern/abc_reader_object.cc b/source/blender/io/alembic/intern/abc_reader_object.cc
index 39b9cd4c161..06b0c07f4c5 100644
--- a/source/blender/io/alembic/intern/abc_reader_object.cc
+++ b/source/blender/io/alembic/intern/abc_reader_object.cc
@@ -236,7 +236,7 @@ Alembic::AbcGeom::IXform AbcObjectReader::xform()
    * parent Alembic object should contain the transform. */
   IObject abc_parent = m_iobject.getParent();
 
-  /* The archive's top object can be recognised by not having a parent. */
+  /* The archive's top object can be recognized by not having a parent. */
   if (abc_parent.getParent() && IXform::matches(abc_parent.getMetaData())) {
     try {
       return IXform(abc_parent, Alembic::AbcGeom::kWrapExisting);
diff --git a/source/blender/io/usd/tests/usd_stage_creation_test.cc b/source/blender/io/usd/tests/usd_stage_creation_test.cc
index d41ae6c4f26..96a98a78497 100644
--- a/source/blender/io/usd/tests/usd_stage_creation_test.cc
+++ b/source/blender/io/usd/tests/usd_stage_creation_test.cc
@@ -49,15 +49,15 @@ TEST_F(USDStageCreationTest, JSONFileLoadingTest)
   usd_initialise_plugin_path(usd_datafiles_dir);
 
   /* Simply the ability to create a USD Stage for a specific filename means that the extension
-   * has been recognised by the USD library, and that a USD plugin has been loaded to write such
+   * has been recognized by the USD library, and that a USD plugin has been loaded to write such
    * files. Practically, this is a test to see whether the USD JSON files can be found and
    * loaded. */
   std::string filename = "usd-stage-creation-test.usdc";
   pxr::UsdStageRefPtr usd_stage = pxr::UsdStage::CreateNew(filename);
   if (usd_stage != nullptr) {
-    /* Even though we don't call usd_stage->SaveFile(), a file is still created on the filesystem
-     * when we call CreateNew(). It's immediately closed, though, so we can safely call unlink()
-     * here. */
+    /* Even though we don't call `usd_stage->SaveFile()`, a file is still created on the
+     * file-system when we call CreateNew(). It's immediately closed, though,
+     * so we can safely call `unlink()` here. */
     unlink(filename.c_str());
   }
   else {



More information about the Bf-blender-cvs mailing list