Cleanup: spelling
authorCampbell Barton <ideasman42@gmail.com>
Thu, 17 Oct 2019 01:19:59 +0000 (12:19 +1100)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 17 Oct 2019 01:40:36 +0000 (12:40 +1100)
Also remove historic bftgl reference.

intern/cycles/kernel/filter/filter_transform_gpu.h
intern/cycles/kernel/filter/filter_transform_sse.h
source/blender/blenfont/intern/blf_internal_types.h
source/blender/draw/engines/workbench/workbench_private.h
source/blender/draw/modes/edit_mesh_mode.c
source/blender/python/mathutils/mathutils_kdtree.c

index 41bbadb621df706be1f8dd95b0bf72c864684a0f..adc85881fe53b6839e43aa13c2e4835f1b9441bd 100644 (file)
@@ -76,9 +76,9 @@ ccl_device void kernel_filter_construct_transform(const ccl_global float *ccl_re
   filter_calculate_scale(feature_scale, use_time);
 
   /* === Generate the feature transformation. ===
-   * This transformation maps the num_features-dimentional feature space to a reduced feature
-   * (r-feature) space which generally has fewer dimensions. This mainly helps to prevent
-   * overfitting. */
+   * This transformation maps the num_features-dimensional feature space to a reduced feature
+   * (r-feature) space which generally has fewer dimensions.
+   * This mainly helps to prevent overfitting. */
   float feature_matrix[DENOISE_FEATURES * DENOISE_FEATURES];
   math_matrix_zero(feature_matrix, num_features);
   FOR_PIXEL_WINDOW
index 830444645d76e43acaadb9da05e701d0c8d13a97..5a124b5d73b7165c67b405fea7bdebb14f69125f 100644 (file)
@@ -73,9 +73,9 @@ ccl_device void kernel_filter_construct_transform(const float *ccl_restrict buff
   filter_calculate_scale_sse(feature_scale, use_time);
 
   /* === Generate the feature transformation. ===
-   * This transformation maps the num_features-dimentional feature space to a reduced feature
-   * (r-feature) space which generally has fewer dimensions. This mainly helps to prevent
-   * overfitting. */
+   * This transformation maps the num_features-dimensional feature space to a reduced feature
+   * (r-feature) space which generally has fewer dimensions.
+   * This mainly helps to prevent over-fitting. */
   float4 feature_matrix_sse[DENOISE_FEATURES * DENOISE_FEATURES];
   math_matrix_zero_sse(feature_matrix_sse, num_features);
   FOR_PIXEL_WINDOW_SSE
index 0294a6219b985bcbe3a69982e29286a67352f8d6..45086de0f61fcee3bb47d38b266c12f461da5db8 100644 (file)
@@ -80,9 +80,8 @@ typedef struct GlyphCacheBLF {
   /* and the last texture, aka. the current texture. */
   unsigned int texture_current;
 
-  /* like bftgl, we draw every glyph in a big texture, so this is the
-   * current position inside the texture.
-   */
+  /* We draw every glyph in a big texture, so this is the
+   * current position inside the texture. */
   int offset_x;
   int offset_y;
 
index f28cf12405eee2d33292f3fa6118eb195b1cee09..595b92d19d0a6811700deb6c571ab69126de4098 100644 (file)
@@ -407,7 +407,8 @@ BLI_INLINE eGPUTextureFormat workbench_color_texture_format(const WORKBENCH_Priv
   return result;
 }
 
-BLI_INLINE bool workbench_background_dither_factor(const WORKBENCH_PrivateData *wpd) {
+BLI_INLINE bool workbench_background_dither_factor(const WORKBENCH_PrivateData *wpd)
+{
   /* Only apply dithering when rendering on a RGBA8 texture.
    * The dithering will remove banding when using a gradient as background */
   return workbench_color_texture_format(wpd) == GPU_RGBA8;
index 623a4a52aed3143d7216fcf692fd11bdec7061f8..9957dbae3fb7f9c583274380a0c30cb8b2f8d3c0 100644 (file)
@@ -688,7 +688,7 @@ static void edit_mesh_add_ob_to_pass(Scene *scene,
 
       skin_roots = DRW_mesh_batch_cache_get_edit_skin_roots(ob->data);
       /* NOTE(fclem) We cannot use ob here since it would offset the instance attribs with
-       * baseinstance offset. */
+       * base instance offset. */
       DRW_shgroup_call(grp, skin_roots, NULL);
     }
   }
index 65eac901df58aec857a51ca71705a5e39fc14b43..e3f2cd9bd14d5e18b297c581e73bab7e22c7ea13 100644 (file)
@@ -436,7 +436,7 @@ PyTypeObject PyKDTree_Type = {
     (destructor)NULL,                       /* tp_del */
 };
 
-PyDoc_STRVAR(py_kdtree_doc, "Generic 3-dimentional kd-tree to perform spatial searches.");
+PyDoc_STRVAR(py_kdtree_doc, "Generic 3-dimensional kd-tree to perform spatial searches.");
 static struct PyModuleDef kdtree_moduledef = {
     PyModuleDef_HEAD_INIT,
     "mathutils.kdtree", /* m_name */