[Bf-blender-cvs] [2425401a594] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Sun Aug 4 04:59:29 CEST 2019


Commit: 2425401a594649abff263d49b902e335a7d614e0
Author: Campbell Barton
Date:   Sun Aug 4 12:51:44 2019 +1000
Branches: master
https://developer.blender.org/rB2425401a594649abff263d49b902e335a7d614e0

Cleanup: spelling

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

M	intern/cycles/device/opencl/opencl_split.cpp
M	intern/cycles/device/opencl/opencl_util.cpp
M	intern/cycles/util/util_task.cpp
M	intern/iksolver/intern/IK_Math.h
M	source/blender/blenkernel/intern/object.c
M	source/blender/blenkernel/intern/studiolight.c
M	source/blender/blenloader/intern/versioning_260.c
M	source/blender/compositor/operations/COM_TextureOperation.cpp
M	source/blender/editors/interface/interface_widgets.c
M	source/blender/editors/physics/particle_edit.c
M	source/blender/editors/space_outliner/outliner_draw.c
M	source/blender/editors/uvedit/uvedit_parametrizer.c
M	source/blender/freestyle/intern/geometry/GeomCleaner.h
M	source/blender/freestyle/intern/scene_graph/NodeTransform.h
M	source/blender/freestyle/intern/stroke/AdvancedFunctions1D.h
M	source/blender/freestyle/intern/stroke/AdvancedStrokeShaders.h
M	source/blender/freestyle/intern/stroke/BasicStrokeShaders.h
M	source/blender/makesrna/intern/rna_pose.c
M	source/blender/modifiers/intern/MOD_correctivesmooth.c
M	source/blender/python/mathutils/mathutils_Matrix.c
M	source/blender/python/mathutils/mathutils_Quaternion.c
M	source/blender/python/mathutils/mathutils_Vector.c
M	source/blender/render/intern/source/imagetexture.c

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

diff --git a/intern/cycles/device/opencl/opencl_split.cpp b/intern/cycles/device/opencl/opencl_split.cpp
index 442b92100bb..79474fb0814 100644
--- a/intern/cycles/device/opencl/opencl_split.cpp
+++ b/intern/cycles/device/opencl/opencl_split.cpp
@@ -194,7 +194,7 @@ string OpenCLDevice::get_build_options(const DeviceRequestedFeatures &requested_
     DeviceRequestedFeatures features(requested_features);
     enable_default_features(features);
 
-    /* Always turn off baking at this point. Baking is only usefull when building the bake kernel.
+    /* Always turn off baking at this point. Baking is only useful when building the bake kernel.
      * this also makes sure that the kernels that are build during baking can be reused
      * when not doing any baking. */
     features.use_baking = false;
diff --git a/intern/cycles/device/opencl/opencl_util.cpp b/intern/cycles/device/opencl/opencl_util.cpp
index cc40ad42b06..dc9b4072841 100644
--- a/intern/cycles/device/opencl/opencl_util.cpp
+++ b/intern/cycles/device/opencl/opencl_util.cpp
@@ -746,7 +746,7 @@ bool OpenCLInfo::device_supported(const string &platform_name, const cl_device_i
   }
   VLOG(3) << "OpenCL driver version " << driver_major << "." << driver_minor;
 
-  /* It is possible tyo have Iris GPU on AMD/Apple OpenCL framework
+  /* It is possible to have Iris GPU on AMD/Apple OpenCL framework
    * (aka, it will not be on Intel framework). This isn't supported
    * and needs an explicit blacklist.
    */
diff --git a/intern/cycles/util/util_task.cpp b/intern/cycles/util/util_task.cpp
index fdbc3800806..24286116dfb 100644
--- a/intern/cycles/util/util_task.cpp
+++ b/intern/cycles/util/util_task.cpp
@@ -283,8 +283,8 @@ vector<int> distribute_threads_on_nodes(const int num_threads)
     }
     ++current_node_index;
   }
-  /* Second pass: keep scheduling threads to each node one by one, uniformly
-   * fillign them in.
+  /* Second pass: keep scheduling threads to each node one by one,
+   * uniformly filling them in.
    * This is where things becomes tricky to predict for the maximum
    * performance: on the one hand this avoids too much threading overhead on
    * few nodes, but for the final performance having all the overhead on one
diff --git a/intern/iksolver/intern/IK_Math.h b/intern/iksolver/intern/IK_Math.h
index ce99c3923f3..f8f8b774787 100644
--- a/intern/iksolver/intern/IK_Math.h
+++ b/intern/iksolver/intern/IK_Math.h
@@ -166,8 +166,8 @@ static inline Eigen::Vector3d SphericalRangeParameters(const Eigen::Matrix3d &R)
   // singularity at pi
   if (fabs(num) < IK_EPSILON)
     // TODO: this does now rotation of size pi over z axis, but could
-    // be any axis, how to deal with this i'm not sure, maybe don't
-    // enforce limits at all then
+    // be any axis, how to deal with this I'm not sure, maybe don't
+    // enforce limits at all then.
     return Eigen::Vector3d(0.0, tau, 1.0);
 
   num = 1.0 / sqrt(num);
diff --git a/source/blender/blenkernel/intern/object.c b/source/blender/blenkernel/intern/object.c
index eb2f23a7b2a..d95c02cdf7f 100644
--- a/source/blender/blenkernel/intern/object.c
+++ b/source/blender/blenkernel/intern/object.c
@@ -2226,7 +2226,7 @@ static bool ob_parcurve(Object *ob, Object *par, float mat[4][4])
    * dependency cycles. We can't correct anything from here, since that would
    * cause a threading conflicts.
    *
-   * TODO(sergey): Somce of the legit looking cases like T56619 need to be
+   * TODO(sergey): Some of the legit looking cases like T56619 need to be
    * looked into, and maybe curve cache (and other dependencies) are to be
    * evaluated prior to conversion. */
   if (par->runtime.curve_cache == NULL) {
diff --git a/source/blender/blenkernel/intern/studiolight.c b/source/blender/blenkernel/intern/studiolight.c
index 20f2a9be53b..6e83f5d75e2 100644
--- a/source/blender/blenkernel/intern/studiolight.c
+++ b/source/blender/blenkernel/intern/studiolight.c
@@ -69,7 +69,7 @@ static int last_studiolight_id = 0;
 
 /*
  * Disable this option so caches are not loaded from disk
- * Do not checkin with this commented out
+ * Do not checking with this commented out.
  */
 #define STUDIOLIGHT_LOAD_CACHED_FILES
 
diff --git a/source/blender/blenloader/intern/versioning_260.c b/source/blender/blenloader/intern/versioning_260.c
index 7b0aab99aea..6f5c37d716e 100644
--- a/source/blender/blenloader/intern/versioning_260.c
+++ b/source/blender/blenloader/intern/versioning_260.c
@@ -264,7 +264,7 @@ static void do_versions_nodetree_multi_file_output_format_2_62_1(Scene *sce, bNo
 
       /* if z buffer is saved, change the image type to multilayer exr.
        * XXX this is slightly messy, Z buffer was ignored before for anything but EXR and IRIS ...
-       * i'm just assuming here that IRIZ means IRIS with z buffer ...
+       * I'm just assuming here that IRIZ means IRIS with z buffer ...
        */
       if (old_data && ELEM(old_data->im_format.imtype, R_IMF_IMTYPE_IRIZ, R_IMF_IMTYPE_OPENEXR)) {
         char sockpath[FILE_MAX];
diff --git a/source/blender/compositor/operations/COM_TextureOperation.cpp b/source/blender/compositor/operations/COM_TextureOperation.cpp
index f2d78845b6c..e09ccbb016a 100644
--- a/source/blender/compositor/operations/COM_TextureOperation.cpp
+++ b/source/blender/compositor/operations/COM_TextureOperation.cpp
@@ -111,9 +111,9 @@ void TextureBaseOperation::executePixelSampled(float output[4],
   float u = (x - cx) / this->getWidth() * 2;
   float v = (y - cy) / this->getHeight() * 2;
 
-  /* When no interpolation/filtering happens in multitex() foce nearest interpolation.
+  /* When no interpolation/filtering happens in multitex() force nearest interpolation.
    * We do it here because (a) we can't easily say multitex() that we want nearest
-   * interpolation and (b) in such configuration multitex() sinply floor's the value
+   * interpolation and (b) in such configuration multitex() simply floor's the value
    * which often produces artifacts.
    */
   if (m_texture != NULL && (m_texture->imaflag & TEX_INTERPOL) == 0) {
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index 0bf8247dc17..55ec10b03dc 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -4633,8 +4633,8 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
         else {
           /* with menu arrows */
 
-          /* we could use a flag for this, but for now just check size,
-           * add updown arrows if there is room. */
+          /* We could use a flag for this, but for now just check size,
+           * add up/down arrows if there is room. */
           if ((!but->str[0] && but->icon && (BLI_rcti_size_x(rect) < BLI_rcti_size_y(rect) + 2)) ||
               /* disable for brushes also */
               (but->flag & UI_BUT_ICON_PREVIEW)) {
diff --git a/source/blender/editors/physics/particle_edit.c b/source/blender/editors/physics/particle_edit.c
index da522d22a02..68506c8addb 100644
--- a/source/blender/editors/physics/particle_edit.c
+++ b/source/blender/editors/physics/particle_edit.c
@@ -338,7 +338,7 @@ static PTCacheEdit *pe_get_current(Depsgraph *depsgraph, Scene *scene, Object *o
   }
 
   /* Don't consider inactive or render dependency graphs, since they might be evaluated for a
-   * different number of childrem. or have different pointer to evaluated particle system or
+   * different number of children. or have different pointer to evaluated particle system or
    * modifier which will also cause troubles. */
   if (edit && DEG_is_active(depsgraph)) {
     edit->pid = *pid;
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 55130ae8894..8c36d4ae2bd 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -442,14 +442,14 @@ static bool outliner_collection_is_isolated(Scene *scene,
   else if (BKE_collection_has_collection(collection_ensure, (Collection *)collection_ensure_cmp) ||
            BKE_collection_has_collection((Collection *)collection_ensure_cmp, collection_ensure)) {
     /* This collection is either a parent or a child of the collection.
-     * We expect it to be set "visble" already. */
+     * We expect it to be set "visible" already. */
     if (value != value_cmp) {
       return false;
     }
   }
   else {
     /* This collection is neither a parent nor a child of the collection.
-     * We expect it to be "invisble". */
+     * We expect it to be "invisible". */
     if (value == value_cmp) {
       return false;
     }
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index c4ce49c5982..bb96b4ba10c 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -3962,7 +3962,7 @@ static float p_smooth_median_edge_length(PChart *chart)
   float median;
   int i;
 
-  /* ok, so i'm lazy */
+  /* ok, so I'm lazy */
   for (i = 0, e = chart->edges; e; e = e->nextlink, i++) {
     lengths[i] = p_edge_length(e);
   }
diff --git a/source/blender/freestyle/intern/geometry/GeomCleaner.h b/source/blender/freestyle/intern/geometry/GeomCleaner.h
index 1c193e7252e..aee8ed6963d 100644
--- a/source/blender/freestyle/intern/geometry/GeomCleaner.h
+++ b/source/blender/freestyle/intern/geometry/GeomCleaner.h
@@ -59,7 +59,7 @@ class GeomCleaner {
    *      Output of sorted vertices.
    *      A vertex v1 precedes another one v2 in this array
    *      if v1.x<v2.x, or v1.x=v2.x && v1.y < v2.y or v1.x=v2.y && v1.y=v2.y && v1.z < v2.z.
-   *      The array is organized as a 3-float serie giving the vertices coordinates: XYZXYZXYZ...
+   *      The array is organized as a 3-float series giving the vertices coordinates: XYZXYZXYZ...
    *    oIndices
    *      Output corresponding to the iIndices array but reorganized in
    *      order to match the sorted vertex array.
@@ -86,7 +86,7 @@ class GeomCleaner {
    *      The size of iIndices array
    *    oVertices
    *      

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-blender-cvs mailing list