[Bf-blender-cvs] [2aa7edbe6b4] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Sun Sep 12 11:54:06 CEST 2021


Commit: 2aa7edbe6b4428d8f7915a9dc402d1209a4b114b
Author: Campbell Barton
Date:   Sun Sep 12 19:51:16 2021 +1000
Branches: master
https://developer.blender.org/rB2aa7edbe6b4428d8f7915a9dc402d1209a4b114b

Cleanup: spelling

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

M	intern/ghost/intern/GHOST_XrContext.cpp
M	source/blender/blenkernel/BKE_anonymous_attribute.hh
M	source/blender/blenloader/intern/versioning_300.c
M	source/blender/editors/space_action/action_edit.c
M	source/blender/functions/FN_field.hh
M	source/blender/makesdna/DNA_curve_types.h

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

diff --git a/intern/ghost/intern/GHOST_XrContext.cpp b/intern/ghost/intern/GHOST_XrContext.cpp
index 3584f4b8e90..fe8fec052fe 100644
--- a/intern/ghost/intern/GHOST_XrContext.cpp
+++ b/intern/ghost/intern/GHOST_XrContext.cpp
@@ -479,7 +479,7 @@ GHOST_TXrGraphicsBinding GHOST_XrContext::determineGraphicsBindingTypeToUse(
   /* Return the first working type. */
   for (GHOST_TXrGraphicsBinding type : enabled_types) {
 #ifdef WIN32
-    /* The SteamVR OpenGL backend currently fails for NVIDIA gpus. Disable it and allow falling
+    /* The SteamVR OpenGL backend currently fails for NVIDIA GPU's. Disable it and allow falling
      * back to the DirectX one. */
     if ((m_runtime_id == OPENXR_RUNTIME_STEAMVR) && (type == GHOST_kXrGraphicsOpenGL) &&
         ((create_info->context_flag & GHOST_kXrContextGpuNVIDIA) != 0)) {
diff --git a/source/blender/blenkernel/BKE_anonymous_attribute.hh b/source/blender/blenkernel/BKE_anonymous_attribute.hh
index 201fa2b2f52..56e6335c7c0 100644
--- a/source/blender/blenkernel/BKE_anonymous_attribute.hh
+++ b/source/blender/blenkernel/BKE_anonymous_attribute.hh
@@ -120,7 +120,7 @@ template<bool IsStrongReference> class OwnedAnonymousAttributeID {
     return BKE_anonymous_attribute_id_has_strong_references(data_);
   }
 
-  /** Extract the onwership of the currently wrapped anonymous id. */
+  /** Extract the ownership of the currently wrapped anonymous id. */
   const AnonymousAttributeID *extract()
   {
     const AnonymousAttributeID *extracted_data = data_;
diff --git a/source/blender/blenloader/intern/versioning_300.c b/source/blender/blenloader/intern/versioning_300.c
index b474209e618..6b8f011e9fc 100644
--- a/source/blender/blenloader/intern/versioning_300.c
+++ b/source/blender/blenloader/intern/versioning_300.c
@@ -685,7 +685,7 @@ static bool geometry_node_is_293_legacy(const short node_type)
     case GEO_NODE_COLLECTION_INFO:
       return false;
 
-    /* Maybe legacy: Transfered *all* attributes before, will not transfer all built-ins now. */
+    /* Maybe legacy: Transferred *all* attributes before, will not transfer all built-ins now. */
     case GEO_NODE_CURVE_ENDPOINTS:
     case GEO_NODE_CURVE_TO_POINTS:
       return false;
@@ -732,7 +732,7 @@ static bool geometry_node_is_293_legacy(const short node_type)
       return true;
 
     /* Legacy: More complex attribute inputs or outputs. */
-    case GEO_NODE_LEGACY_DELETE_GEOMETRY:    /* Needs field input, domain dropdown. */
+    case GEO_NODE_LEGACY_DELETE_GEOMETRY:    /* Needs field input, domain drop-down. */
     case GEO_NODE_LEGACY_CURVE_SUBDIVIDE:    /* Needs field count input. */
     case GEO_NODE_LEGACY_POINTS_TO_VOLUME:   /* Needs field radius input. */
     case GEO_NODE_LEGACY_SELECT_BY_MATERIAL: /* Output anonymous attribute. */
diff --git a/source/blender/editors/space_action/action_edit.c b/source/blender/editors/space_action/action_edit.c
index 6f4e295cbb2..3e38be243c9 100644
--- a/source/blender/editors/space_action/action_edit.c
+++ b/source/blender/editors/space_action/action_edit.c
@@ -192,7 +192,7 @@ static bool get_keyframe_extents(bAnimContext *ac, float *min, float *max, const
         bGPDlayer *gpl = ale->data;
         bGPDframe *gpf;
 
-        /* find gp-frame which is less than or equal to cframe */
+        /* Find gp-frame which is less than or equal to current-frame. */
         for (gpf = gpl->frames.first; gpf; gpf = gpf->next) {
           const float framenum = (float)gpf->framenum;
           *min = min_ff(*min, framenum);
@@ -204,7 +204,7 @@ static bool get_keyframe_extents(bAnimContext *ac, float *min, float *max, const
         MaskLayer *masklay = ale->data;
         MaskLayerShape *masklay_shape;
 
-        /* find mask layer which is less than or equal to cframe */
+        /* Find mask layer which is less than or equal to current-frame. */
         for (masklay_shape = masklay->splines_shapes.first; masklay_shape;
              masklay_shape = masklay_shape->next) {
           const float framenum = (float)masklay_shape->frame;
diff --git a/source/blender/functions/FN_field.hh b/source/blender/functions/FN_field.hh
index 976d260d91b..730a8046646 100644
--- a/source/blender/functions/FN_field.hh
+++ b/source/blender/functions/FN_field.hh
@@ -37,7 +37,7 @@
  *    use is to compose multiple existing fields into new fields.
  *
  * When fields are evaluated, they are converted into a multi-function procedure which allows
- * efficient compution. In the future, we might support different field evaluation mechanisms for
+ * efficient computation. In the future, we might support different field evaluation mechanisms for
  * e.g. the following scenarios:
  *  - Latency of a single evaluation is more important than throughput.
  *  - Evaluation should happen on other hardware like GPUs.
diff --git a/source/blender/makesdna/DNA_curve_types.h b/source/blender/makesdna/DNA_curve_types.h
index 77ab2b67f3d..a2433dbbbbd 100644
--- a/source/blender/makesdna/DNA_curve_types.h
+++ b/source/blender/makesdna/DNA_curve_types.h
@@ -303,7 +303,7 @@ typedef struct Curve {
 
   /**
    * A pointer to curve data from evaluation. Owned by the object's #geometry_set_eval, either as a
-   * geometry instance or the data of the evalauted #CurveComponent. The curve may also contain
+   * geometry instance or the data of the evaluated #CurveComponent. The curve may also contain
    * data in the #nurb list, but for evaluated curves this is the proper place to retrieve data,
    * since it also contains the result of geometry nodes evaluation, and isn't just a copy of the
    * original object data.



More information about the Bf-blender-cvs mailing list