[Bf-blender-cvs] [8371df8b1c1] master: Cleanup: spelling

Campbell Barton noreply at git.blender.org
Tue Aug 24 04:50:25 CEST 2021


Commit: 8371df8b1c12bdae574370d77819c46d8280f20f
Author: Campbell Barton
Date:   Tue Aug 24 12:49:00 2021 +1000
Branches: master
https://developer.blender.org/rB8371df8b1c12bdae574370d77819c46d8280f20f

Cleanup: spelling

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

M	source/blender/blenfont/intern/blf_font.c
M	source/blender/blenlib/intern/filereader_zstd.c
M	source/blender/compositor/operations/COM_BlurBaseOperation.cc
M	source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc
M	source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc
M	source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h

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

diff --git a/source/blender/blenfont/intern/blf_font.c b/source/blender/blenfont/intern/blf_font.c
index af68e1563d1..50b4bb09b7b 100644
--- a/source/blender/blenfont/intern/blf_font.c
+++ b/source/blender/blenfont/intern/blf_font.c
@@ -508,7 +508,7 @@ int blf_font_draw_mono(FontBLF *font, const char *str, const size_t str_len, int
 /** \} */
 
 /* -------------------------------------------------------------------- */
-/** \name Text Drawgin: Buffer
+/** \name Text Drawing: Buffer
  * \{ */
 
 /* Sanity checks are done by BLF_draw_buffer() */
diff --git a/source/blender/blenlib/intern/filereader_zstd.c b/source/blender/blenlib/intern/filereader_zstd.c
index 785a40cd1a1..55ce32713d9 100644
--- a/source/blender/blenlib/intern/filereader_zstd.c
+++ b/source/blender/blenlib/intern/filereader_zstd.c
@@ -79,7 +79,7 @@ static bool zstd_read_seek_table(ZstdReader *zstd)
   if (base->seek(base, -5, SEEK_END) < 0 || base->read(base, &flags, 1) != 1) {
     return false;
   }
-  /* Bit 7 indicates checksums. Bits 5 and 6 must be zero. */
+  /* Bit 7 indicates check-sums. Bits 5 and 6 must be zero. */
   bool has_checksums = (flags & 0x80);
   if (flags & 0x60) {
     return false;
@@ -134,7 +134,7 @@ static bool zstd_read_seek_table(ZstdReader *zstd)
   zstd->seek.compressed_ofs[num_frames] = compressed_ofs;
   zstd->seek.uncompressed_ofs[num_frames] = uncompressed_ofs;
 
-  /* Seek to the end of the previous frame for the following BHead frame detection. */
+  /* Seek to the end of the previous frame for the following #BHead frame detection. */
   if (seek_frame_start != compressed_ofs || base->seek(base, seek_frame_start, SEEK_SET) < 0) {
     MEM_freeN(zstd->seek.compressed_ofs);
     MEM_freeN(zstd->seek.uncompressed_ofs);
@@ -178,7 +178,7 @@ static const char *zstd_ensure_cache(ZstdReader *zstd, int frame)
     return zstd->seek.cached_content;
   }
 
-  /* Cached frame doesn't match, so discard it and cache the wanted one onstead. */
+  /* Cached frame doesn't match, so discard it and cache the wanted one instead. */
   MEM_SAFE_FREE(zstd->seek.cached_content);
 
   size_t compressed_size = zstd->seek.compressed_ofs[frame + 1] - zstd->seek.compressed_ofs[frame];
diff --git a/source/blender/compositor/operations/COM_BlurBaseOperation.cc b/source/blender/compositor/operations/COM_BlurBaseOperation.cc
index 280a6026ebe..058b422c4a5 100644
--- a/source/blender/compositor/operations/COM_BlurBaseOperation.cc
+++ b/source/blender/compositor/operations/COM_BlurBaseOperation.cc
@@ -229,7 +229,7 @@ void BlurBaseOperation::determineResolution(unsigned int resolution[2],
     }
     case eExecutionModel::FullFrame: {
       /* Setting a modifier ensures all non main inputs have extended bounds as preferred
-       * resolution, avoiding unnecessary resolution convertions that would hide constant
+       * resolution, avoiding unnecessary resolution conversions that would hide constant
        * operations. */
       set_determined_resolution_modifier([=](unsigned int res[2]) {
         /* Rounding to even prevents jiggling in backdrop while switching size values. */
diff --git a/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc b/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc
index a80cbbe942a..ccabb3cf11c 100644
--- a/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc
+++ b/source/blender/compositor/operations/COM_PlaneDistortCommonOperation.cc
@@ -201,7 +201,7 @@ void PlaneDistortWarpImageOperation::get_area_of_interest(const int input_idx,
   r_input_area.xmax = get_input_operation(0)->getWidth();
   r_input_area.ymax = get_input_operation(0)->getHeight();
 
-/* Old implemention but resulting coordinates are way out of input operation bounds and in some
+/* Old implementation but resulting coordinates are way out of input operation bounds and in some
  * cases the area result may incorrectly cause cropping. */
 #if 0
   float min[2], max[2];
diff --git a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc
index f9ba2ef69ad..1f503051349 100644
--- a/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc
+++ b/source/blender/compositor/operations/COM_ScreenLensDistortionOperation.cc
@@ -387,7 +387,7 @@ void ScreenLensDistortionOperation::get_area_of_interest(const int input_idx,
                                                          rcti &r_input_area)
 {
   if (input_idx != 0) {
-    /* Dispersion and distorsion inputs are used as constants only. */
+    /* Dispersion and distortion inputs are used as constants only. */
     r_input_area = COM_SINGLE_ELEM_AREA;
   }
 
diff --git a/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h b/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h
index d6df9f5b858..56b4677087b 100644
--- a/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h
+++ b/source/blender/compositor/operations/COM_VariableSizeBokehBlurOperation.h
@@ -98,7 +98,7 @@ class VariableSizeBokehBlurOperation : public MultiThreadedOperation, public Qua
                                     Span<MemoryBuffer *> inputs) override;
 };
 
-/* Currently unused. If ever used, it needs fullframe implementation. */
+/* Currently unused. If ever used, it needs full-frame implementation. */
 #ifdef COM_DEFOCUS_SEARCH
 class InverseSearchRadiusOperation : public NodeOperation {
  private:



More information about the Bf-blender-cvs mailing list