[Bf-blender-cvs] [63d521432e9] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Wed Dec 11 00:57:29 CET 2019


Commit: 63d521432e9307643c279237b041a8f2ac6dda9d
Author: Campbell Barton
Date:   Wed Dec 11 10:56:14 2019 +1100
Branches: master
https://developer.blender.org/rB63d521432e9307643c279237b041a8f2ac6dda9d

Cleanup: spelling

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

M	source/blender/alembic/intern/abc_customdata.h
M	source/blender/blenkernel/intern/curveprofile.c
M	source/blender/draw/engines/eevee/eevee_engine.c
M	source/blender/draw/engines/overlay/overlay_antialiasing.c
M	source/blender/draw/engines/overlay/overlay_motion_path.c
M	source/blender/editors/interface/interface_region_tooltip.c
M	source/blender/editors/space_info/textview.c
M	source/blender/imbuf/intern/rectop.c

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

diff --git a/source/blender/alembic/intern/abc_customdata.h b/source/blender/alembic/intern/abc_customdata.h
index 52f55a41628..6107e230627 100644
--- a/source/blender/alembic/intern/abc_customdata.h
+++ b/source/blender/alembic/intern/abc_customdata.h
@@ -59,8 +59,7 @@ struct CDStreamConfig {
   bool pack_uvs;
 
   /* TODO(kevin): might need a better way to handle adding and/or updating
-   * custom datas such that it updates the custom data holder and its pointers
-   * properly. */
+   * custom data such that it updates the custom data holder and its pointers properly. */
   Mesh *mesh;
   void *(*add_customdata_cb)(Mesh *mesh, const char *name, int data_type);
 
diff --git a/source/blender/blenkernel/intern/curveprofile.c b/source/blender/blenkernel/intern/curveprofile.c
index 2b253d439e0..cd25d616454 100644
--- a/source/blender/blenkernel/intern/curveprofile.c
+++ b/source/blender/blenkernel/intern/curveprofile.c
@@ -308,7 +308,7 @@ static void CurveProfile_build_supports(CurveProfile *profile)
 }
 
 /**
- * Puts the widget's control points in a step pattern.
+ * Puts the widgets control points in a step pattern.
  * Uses vector handles for each point.
  */
 static void CurveProfile_build_steps(CurveProfile *profile)
diff --git a/source/blender/draw/engines/eevee/eevee_engine.c b/source/blender/draw/engines/eevee/eevee_engine.c
index 603a4787dba..a6ad7d97922 100644
--- a/source/blender/draw/engines/eevee/eevee_engine.c
+++ b/source/blender/draw/engines/eevee/eevee_engine.c
@@ -164,8 +164,8 @@ static void eevee_cache_finish(void *vedata)
 
   uint tot_samples = scene_eval->eevee.taa_render_samples;
   if (tot_samples == 0) {
-    /* use a high number of samples so the outputs accum buffers
-     * will have the highest possible precision */
+    /* Use a high number of samples so the outputs accumulation buffers
+     * will have the highest possible precision. */
     tot_samples = 1024;
   }
   EEVEE_renderpasses_output_init(sldata, vedata, tot_samples);
diff --git a/source/blender/draw/engines/overlay/overlay_antialiasing.c b/source/blender/draw/engines/overlay/overlay_antialiasing.c
index 8c50bfac908..751c6dc7016 100644
--- a/source/blender/draw/engines/overlay/overlay_antialiasing.c
+++ b/source/blender/draw/engines/overlay/overlay_antialiasing.c
@@ -39,10 +39,10 @@
  *
  * This technique has one major shortcoming compared to MSAA:
  * - It handles (initial) partial visibility poorly (because of single sample). This makes
- *   overlaping / crossing wires a bit too thin at their intersection.
+ *   overlapping / crossing wires a bit too thin at their intersection.
  *   Wireframe meshes overlaid over solid meshes can have half of the edge missing due to
  *   z-fighting (this has workaround).
- *   Another manifestation of this, is fickering of really dense wireframe if using small
+ *   Another manifestation of this, is flickering of really dense wireframe if using small
  *   line thickness (also has workaround).
  *
  * The pros of this approach are many:
diff --git a/source/blender/draw/engines/overlay/overlay_motion_path.c b/source/blender/draw/engines/overlay/overlay_motion_path.c
index 349f17d3d7d..a532618d472 100644
--- a/source/blender/draw/engines/overlay/overlay_motion_path.c
+++ b/source/blender/draw/engines/overlay/overlay_motion_path.c
@@ -170,7 +170,7 @@ static void motion_path_cache(OVERLAY_Data *vedata,
     DRW_shgroup_call_range(grp, mpath_batch_points_get(mpath), start_index, len);
   }
 
-  /* Draw frame numbers at each framestep value */
+  /* Draw frame numbers at each frame-step value. */
   if (show_frame_no || (show_keyframes_no && show_keyframes)) {
     int i;
     uchar col[4], col_kf[4];
@@ -193,8 +193,8 @@ static void motion_path_cache(OVERLAY_Data *vedata,
       else if (show_frame_no) {
         bMotionPathVert *mpvP = (mpv - stepsize);
         bMotionPathVert *mpvN = (mpv + stepsize);
-        /* Only draw framenum if several consecutive highlighted points don't occur on same point.
-         */
+        /* Only draw frame number if several consecutive highlighted points
+         * don't occur on same point. */
         if ((equals_v3v3(mpv->co, mpvP->co) == 0) || (equals_v3v3(mpv->co, mpvN->co) == 0)) {
           numstr_len = BLI_snprintf(numstr, sizeof(numstr), " %d", frame);
           DRW_text_cache_add(dt, mpv->co, numstr, numstr_len, 0, 0, txt_flag, col);
diff --git a/source/blender/editors/interface/interface_region_tooltip.c b/source/blender/editors/interface/interface_region_tooltip.c
index 26ac8953e44..d81e0c46297 100644
--- a/source/blender/editors/interface/interface_region_tooltip.c
+++ b/source/blender/editors/interface/interface_region_tooltip.c
@@ -371,7 +371,7 @@ static uiTooltipData *ui_tooltip_data_from_tool(bContext *C, uiBut *but, bool is
   RNA_string_get(but->opptr, "name", tool_id);
   BLI_assert(tool_id[0] != '\0');
 
-  /* When false, we're in a diffrent space type to the tool being set.
+  /* When false, we're in a different space type to the tool being set.
    * Needed for setting the fallback tool from the properties space.
    *
    * If we drop the hard coded 3D-view in properties hack, we can remove this check. */
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c
index 3cdd4020a70..1bc583461a5 100644
--- a/source/blender/editors/space_info/textview.c
+++ b/source/blender/editors/space_info/textview.c
@@ -319,7 +319,7 @@ int textview_draw(TextViewContext *tvc,
   xy[1] = y_orig;
 
   /* Offset and clamp the results,
-   * clamping so moving the cursor out of the bounds doesn't weap onto the other lines. */
+   * clamping so moving the cursor out of the bounds doesn't wrap onto the other lines. */
   const int mval[2] = {
       (mval_init[0] == INT_MAX) ?
           INT_MAX :
diff --git a/source/blender/imbuf/intern/rectop.c b/source/blender/imbuf/intern/rectop.c
index 7915f04b74e..e5396b4551b 100644
--- a/source/blender/imbuf/intern/rectop.c
+++ b/source/blender/imbuf/intern/rectop.c
@@ -282,7 +282,7 @@ void IMB_rect_crop(ImBuf *ibuf, const rcti *crop)
 }
 
 /**
- * Re-alloc buffers at a new size.
+ * Re-allocate buffers at a new size.
  */
 static void rect_realloc_4bytes(void **buf_p, const uint size[2])
 {



More information about the Bf-blender-cvs mailing list