[Bf-blender-cvs] [83cb4f5f8f2] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Wed Jul 22 04:02:58 CEST 2020


Commit: 83cb4f5f8f2a7db3ba89331c7e8b044c2ddf2cb9
Author: Campbell Barton
Date:   Wed Jul 22 11:46:27 2020 +1000
Branches: master
https://developer.blender.org/rB83cb4f5f8f2a7db3ba89331c7e8b044c2ddf2cb9

Cleanup: spelling

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

M	source/blender/editors/object/object_relations.c
M	source/blender/functions/FN_multi_function_signature.hh
M	source/blender/makesrna/intern/rna_access_compare_override.c

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

diff --git a/source/blender/editors/object/object_relations.c b/source/blender/editors/object/object_relations.c
index 17370b88861..9520b03f3a6 100644
--- a/source/blender/editors/object/object_relations.c
+++ b/source/blender/editors/object/object_relations.c
@@ -2244,8 +2244,8 @@ void OBJECT_OT_make_local(wmOperatorType *ot)
 
 static bool make_override_library_ovject_overridable_check(Main *bmain, Object *object)
 {
-  /* An object is actually overridable only if it is in at least one local collections...
-   * Unfortunatly 'direct link' flag is not enough here. */
+  /* An object is actually overrideable only if it is in at least one local collections.
+   * Unfortunately 'direct link' flag is not enough here. */
   LISTBASE_FOREACH (Collection *, collection, &bmain->collections) {
     if (!ID_IS_LINKED(collection) && BKE_collection_has_object(collection, object)) {
       return true;
diff --git a/source/blender/functions/FN_multi_function_signature.hh b/source/blender/functions/FN_multi_function_signature.hh
index 26df7c98e4a..ba79dddff16 100644
--- a/source/blender/functions/FN_multi_function_signature.hh
+++ b/source/blender/functions/FN_multi_function_signature.hh
@@ -21,7 +21,7 @@
  * \ingroup fn
  *
  * The signature of a multi-function contains the functions name and expected parameters. New
- * signatures should be build using the MFSignatureBuilder class.
+ * signatures should be build using the #MFSignatureBuilder class.
  */
 
 #include "FN_multi_function_param_type.hh"
@@ -60,7 +60,7 @@ class MFSignatureBuilder {
     BLI_assert(data.param_data_indices.is_empty());
   }
 
-  /* Input Param Types */
+  /* Input Parameter Types */
 
   template<typename T> void single_input(StringRef name)
   {
@@ -93,7 +93,7 @@ class MFSignatureBuilder {
     }
   }
 
-  /* Output Param Types */
+  /* Output Parameter Types */
 
   template<typename T> void single_output(StringRef name)
   {
@@ -126,7 +126,7 @@ class MFSignatureBuilder {
     }
   }
 
-  /* Mutable Param Types */
+  /* Mutable Parameter Types */
 
   template<typename T> void single_mutable(StringRef name)
   {
@@ -162,7 +162,7 @@ class MFSignatureBuilder {
   /* Context */
 
   /** This indicates that the function accesses the context. This disables optimizations that
-   * depend on the fact that the function always performes the same operation. */
+   * depend on the fact that the function always performers the same operation. */
   void depends_on_context()
   {
     data_.depends_on_context = true;
diff --git a/source/blender/makesrna/intern/rna_access_compare_override.c b/source/blender/makesrna/intern/rna_access_compare_override.c
index e4af02f70fe..0a739dcfc5a 100644
--- a/source/blender/makesrna/intern/rna_access_compare_override.c
+++ b/source/blender/makesrna/intern/rna_access_compare_override.c
@@ -61,7 +61,7 @@ bool RNA_property_overridable_get(PointerRNA *ptr, PropertyRNA *prop)
     /* Special handling for insertions of constraints or modifiers... */
     /* TODO Note We may want to add a more generic system to RNA
      * (like a special property in struct of items)
-     * if we get more override-able collections,
+     * if we get more overrideable collections,
      * for now we can live with those special-cases handling I think. */
     if (RNA_struct_is_a(ptr->type, &RNA_Constraint)) {
       bConstraint *con = ptr->data;



More information about the Bf-blender-cvs mailing list