[Bf-blender-cvs] [23f1dea4408] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Wed Sep 9 05:33:57 CEST 2020


Commit: 23f1dea4408fa87db5193b88b4315d8de15804b2
Author: Campbell Barton
Date:   Wed Sep 9 13:19:50 2020 +1000
Branches: master
https://developer.blender.org/rB23f1dea4408fa87db5193b88b4315d8de15804b2

Cleanup: spelling

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

M	intern/cycles/kernel/closure/bsdf_hair_principled.h
M	source/blender/depsgraph/intern/eval/deg_eval.cc
M	source/blender/depsgraph/intern/eval/deg_eval.h
M	source/blender/editors/space_text/text_format.h
M	source/blender/editors/uvedit/uvedit_unwrap_ops.c
M	source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp
M	source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.cpp
M	source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp
M	source/blender/freestyle/intern/stroke/Predicates1D.h
M	source/blender/freestyle/intern/view_map/Silhouette.h
M	source/blender/io/collada/TransformWriter.cpp
M	source/blender/io/usd/intern/usd_writer_abstract.h

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

diff --git a/intern/cycles/kernel/closure/bsdf_hair_principled.h b/intern/cycles/kernel/closure/bsdf_hair_principled.h
index 389bd62ba68..f12661b3095 100644
--- a/intern/cycles/kernel/closure/bsdf_hair_principled.h
+++ b/intern/cycles/kernel/closure/bsdf_hair_principled.h
@@ -124,8 +124,8 @@ ccl_device_inline float bessel_I0(float x)
 ccl_device_inline float log_bessel_I0(float x)
 {
   if (x > 12.0f) {
-    /* log(1/x) == -log(x) iff x > 0.
-     * This is only used with positive cosines */
+    /* log(1/x) == -log(x) if x > 0.
+     * This is only used with positive cosines. */
     return x + 0.5f * (1.f / (8.0f * x) - M_LN_2PI_F - logf(x));
   }
   else {
diff --git a/source/blender/depsgraph/intern/eval/deg_eval.cc b/source/blender/depsgraph/intern/eval/deg_eval.cc
index 2e0487bfca1..2c4b7f03db5 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval.cc
+++ b/source/blender/depsgraph/intern/eval/deg_eval.cc
@@ -20,7 +20,7 @@
 /** \file
  * \ingroup depsgraph
  *
- * Evaluation engine entrypoints for Depsgraph Engine.
+ * Evaluation engine entry-points for Depsgraph Engine.
  */
 
 #include "intern/eval/deg_eval.h"
diff --git a/source/blender/depsgraph/intern/eval/deg_eval.h b/source/blender/depsgraph/intern/eval/deg_eval.h
index 49690f15412..7a23c0f8613 100644
--- a/source/blender/depsgraph/intern/eval/deg_eval.h
+++ b/source/blender/depsgraph/intern/eval/deg_eval.h
@@ -20,7 +20,7 @@
 /** \file
  * \ingroup depsgraph
  *
- * Evaluation engine entrypoints for Depsgraph Engine.
+ * Evaluation engine entry-points for Depsgraph Engine.
  */
 
 #pragma once
diff --git a/source/blender/editors/space_text/text_format.h b/source/blender/editors/space_text/text_format.h
index bb9574ee55e..833f40730ad 100644
--- a/source/blender/editors/space_text/text_format.h
+++ b/source/blender/editors/space_text/text_format.h
@@ -61,7 +61,7 @@ typedef struct TextFormatType {
   char (*format_identifier)(const char *string);
 
   /* Formats the specified line. If do_next is set, the process will move on to
-   * the succeeding line if it is affected (eg. multiline strings). Format strings
+   * the succeeding line if it is affected (eg. multi-line strings). Format strings
    * may contain any of the following characters:
    *
    * It is terminated with a null-terminator '\0' followed by a continuation
diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
index 49f11cd6a74..f043dc92624 100644
--- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c
+++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c
@@ -261,7 +261,7 @@ static void construct_param_handle_face_add(ParamHandle *handle,
   key = (ParamKey)face_index;
 
   /* let parametrizer split the ngon, it can make better decisions
-   * about which split is best for unwrapping than scanfill */
+   * about which split is best for unwrapping than poly-fill. */
   BM_ITER_ELEM_INDEX (l, &liter, efa, BM_LOOPS_OF_FACE, i) {
     MLoopUV *luv = BM_ELEM_CD_GET_VOID_P(l, cd_loop_uv_offset);
 
diff --git a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp
index 5db75c84608..c329a3badd5 100644
--- a/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp
+++ b/source/blender/freestyle/intern/python/Interface1D/FEdge/BPy_FEdgeSharp.cpp
@@ -36,7 +36,7 @@ PyDoc_STRVAR(FEdgeSharp_doc,
              "\n"
              "Class defining a sharp FEdge.  A Sharp FEdge corresponds to an initial\n"
              "edge of the input mesh.  It can be a silhouette, a crease or a border.\n"
-             "If it is a crease edge, then it is borded by two faces of the mesh.\n"
+             "If it is a crease edge, then it is bordered by two faces of the mesh.\n"
              "Face a lies on its right whereas Face b lies on its left.  If it is a\n"
              "border edge, then it doesn't have any face on its right, and thus Face\n"
              "a is None.\n"
diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.cpp b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.cpp
index 21bd371935a..734aa5a0e84 100644
--- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.cpp
+++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ContourUP1D.cpp
@@ -34,7 +34,7 @@ static char ContourUP1D___doc__[] =
     ".. method:: __call__(inter)\n"
     "\n"
     "   Returns true if the Interface1D is a contour.  An Interface1D is a\n"
-    "   contour if it is borded by a different shape on each of its sides.\n"
+    "   contour if it is bordered by a different shape on each of its sides.\n"
     "\n"
     "   :arg inter: An Interface1D object.\n"
     "   :type inter: :class:`freestyle.types.Interface1D`\n"
diff --git a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp
index ea034dfad1e..3ddadcf2d4f 100644
--- a/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp
+++ b/source/blender/freestyle/intern/python/UnaryPredicate1D/BPy_ExternalContourUP1D.cpp
@@ -34,7 +34,7 @@ static char ExternalContourUP1D___doc__[] =
     ".. method:: __call__(inter)\n"
     "\n"
     "   Returns true if the Interface1D is an external contour.  An\n"
-    "   Interface1D is an external contour if it is borded by no shape on\n"
+    "   Interface1D is an external contour if it is bordered by no shape on\n"
     "   one of its sides.\n"
     "\n"
     "   :arg inter: An Interface1D object.\n"
diff --git a/source/blender/freestyle/intern/stroke/Predicates1D.h b/source/blender/freestyle/intern/stroke/Predicates1D.h
index a3953950d86..c174162b214 100644
--- a/source/blender/freestyle/intern/stroke/Predicates1D.h
+++ b/source/blender/freestyle/intern/stroke/Predicates1D.h
@@ -218,7 +218,7 @@ class QuantitativeInvisibilityUP1D : public UnaryPredicate1D {
 
 // ContourUP1D
 /*! Returns true if the Interface1D is a contour.
- *  An Interface1D is a contour if it is borded by a different shape on each of its sides.
+ *  An Interface1D is a contour if it is bordered by a different shape on each of its sides.
  */
 class ContourUP1D : public UnaryPredicate1D {
  private:
@@ -253,7 +253,7 @@ class ContourUP1D : public UnaryPredicate1D {
 
 // ExternalContourUP1D
 /*! Returns true if the Interface1D is an external contour.
- *  An Interface1D is an external contour if it is borded by no shape on one of its sides.
+ *  An Interface1D is an external contour if it is bordered by no shape on one of its sides.
  */
 class ExternalContourUP1D : public UnaryPredicate1D {
  private:
diff --git a/source/blender/freestyle/intern/view_map/Silhouette.h b/source/blender/freestyle/intern/view_map/Silhouette.h
index c27d6b633b4..5a59f488b51 100644
--- a/source/blender/freestyle/intern/view_map/Silhouette.h
+++ b/source/blender/freestyle/intern/view_map/Silhouette.h
@@ -1139,7 +1139,7 @@ Interface0DIterator FEdge::pointsEnd(float /*t*/)
 }
 
 /*! Class defining a sharp FEdge. A Sharp FEdge corresponds to an initial edge of the input mesh.
- *  It can be a silhouette, a crease or a border. If it is a crease edge, then it is borded
+ *  It can be a silhouette, a crease or a border. If it is a crease edge, then it is bordered
  *  by two faces of the mesh. Face a lies on its right whereas Face b lies on its left.
  *  If it is a border edge, then it doesn't have any face on its right, and thus Face a = 0.
  */
diff --git a/source/blender/io/collada/TransformWriter.cpp b/source/blender/io/collada/TransformWriter.cpp
index 0311f22fe11..7c9d26e4fde 100644
--- a/source/blender/io/collada/TransformWriter.cpp
+++ b/source/blender/io/collada/TransformWriter.cpp
@@ -66,7 +66,7 @@ void TransformWriter::add_node_transform_ob(COLLADASW::Node &node,
   bool limit_precision = export_settings.get_limit_precision();
 
   /* Export the local Matrix (relative to the object parent,
-   * be it an object, bone or vertex(-tices)). */
+   * be it an object, bone or vertices (one or more)). */
   Matrix f_obmat;
   BKE_object_matrix_local_get(ob, f_obmat);
 
diff --git a/source/blender/io/usd/intern/usd_writer_abstract.h b/source/blender/io/usd/intern/usd_writer_abstract.h
index 88df7cb1cc6..6cf7c79c5fa 100644
--- a/source/blender/io/usd/intern/usd_writer_abstract.h
+++ b/source/blender/io/usd/intern/usd_writer_abstract.h
@@ -78,7 +78,7 @@ class USDAbstractWriter : public AbstractHierarchyWriter {
                         pxr::UsdGeomImageable &usd_geometry);
 
   /* Turn `prim` into an instance referencing `context.original_export_path`.
-   * Return true when the instancing was succesful, false otherwise. */
+   * Return true when the instancing was successful, false otherwise. */
   virtual bool mark_as_instance(const HierarchyContext &context, const pxr::UsdPrim &prim);
 };



More information about the Bf-blender-cvs mailing list