Commit: 5ada2afb6d08d633d81f0f536fe4f45630286fad
Author: Brecht Van Lommel
Date:   Mon Jun 13 13:17:32 2022 +0200
Branches: master
https://developer.blender.org/rB5ada2afb6d08d633d81f0f536fe4f45630286fad

Cleanup: fix various typos

Found via codespell -q 3 -S ./intern,./extern -L 
ans,ba,bording,datas,eiter,fiter,hist,inout,lod,ot,parm,parms,pixelx,pres,te

Contributed by luzpaz.

Differential Revision: https://developer.blender.org/D15155

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

M       release/scripts/modules/bl_console_utils/__init__.py
M       source/blender/blenkernel/BKE_collection.h
M       source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
M       source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl
M       source/blender/draw/engines/eevee_next/shaders/eevee_nodetree_lib.glsl
M       source/blender/python/intern/bpy_traceback.c

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

diff --git a/release/scripts/modules/bl_console_utils/__init__.py 
b/release/scripts/modules/bl_console_utils/__init__.py
index 78800fa5703..ab95fe1e68a 100644
--- a/release/scripts/modules/bl_console_utils/__init__.py
+++ b/release/scripts/modules/bl_console_utils/__init__.py
@@ -1,4 +1,4 @@
 # SPDX-License-Identifier: GPL-2.0-or-later
 """
-Utilities relating to text mode console interations.
+Utilities relating to text mode console interactions.
 """
diff --git a/source/blender/blenkernel/BKE_collection.h 
b/source/blender/blenkernel/BKE_collection.h
index 41d369ae9b2..feb3dc7de80 100644
--- a/source/blender/blenkernel/BKE_collection.h
+++ b/source/blender/blenkernel/BKE_collection.h
@@ -119,7 +119,7 @@ bool BKE_collection_object_add(struct Main *bmain,
 /**
  * Add object to given collection, similar to #BKE_collection_object_add.
  *
- * However, it additionnally ensures that the selected collection is also part 
of the given
+ * However, it additionally ensures that the selected collection is also part 
of the given
  * `view_layer`, if non-NULL. Otherwise, the object is not added to any 
collection.
  */
 bool BKE_collection_viewlayer_object_add(struct Main *bmain,
diff --git a/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh 
b/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
index 1261c855a82..eb409f076f3 100644
--- a/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
+++ b/source/blender/draw/engines/eevee_next/eevee_shader_shared.hh
@@ -126,7 +126,7 @@ BLI_STATIC_ASSERT_ALIGN(VelocityGeometryIndex, 16)
  * \{ */
 
 enum eClosureBits : uint32_t {
-  /** NOTE: Theses are used as stencil bits. So we are limited to 8bits. */
+  /** NOTE: These are used as stencil bits. So we are limited to 8bits. */
   CLOSURE_DIFFUSE = (1u << 0u),
   CLOSURE_SSS = (1u << 1u),
   CLOSURE_REFLECTION = (1u << 2u),
diff --git 
a/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl 
b/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl
index fafea1e576e..a65bb7decb6 100644
--- a/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl
+++ b/source/blender/draw/engines/eevee_next/shaders/eevee_attributes_lib.glsl
@@ -287,7 +287,7 @@ vec3 attr_load_uv(vec3 attr)
 /** \name Volume Attribute post
  *
  * TODO(@fclem): These implementation details should concern the DRWManager 
and not be a fix on
- * the engine side. But as of now, the engines are reponsible for loading the 
attributes.
+ * the engine side. But as of now, the engines are responsible for loading the 
attributes.
  *
  * \{ */
 
diff --git 
a/source/blender/draw/engines/eevee_next/shaders/eevee_nodetree_lib.glsl 
b/source/blender/draw/engines/eevee_next/shaders/eevee_nodetree_lib.glsl
index 277b2e35d8b..0ccf06a9e14 100644
--- a/source/blender/draw/engines/eevee_next/shaders/eevee_nodetree_lib.glsl
+++ b/source/blender/draw/engines/eevee_next/shaders/eevee_nodetree_lib.glsl
@@ -29,7 +29,7 @@ bool closure_select(float weight, inout float total_weight, 
inout float r)
   float x = weight / total_weight;
   bool chosen = (r < x);
   /* Assuming that if r is in the interval [0,x] or [x,1], it's still 
uniformly distributed within
-   * that interval, so you remaping to [0,1] again to explore this space of 
probability. */
+   * that interval, so you remapping to [0,1] again to explore this space of 
probability. */
   r = (chosen) ? (r / x) : ((r - x) / (1.0 - x));
   return chosen;
 }
@@ -333,7 +333,7 @@ vec3 coordinate_screen(vec3 P)
     window.xy = vec2(0.5);
   }
   else {
-    /* TODO(fclem): Actual camera tranform. */
+    /* TODO(fclem): Actual camera transform. */
     window.xy = project_point(ViewProjectionMatrix, P).xy * 0.5 + 0.5;
     window.xy = window.xy * CameraTexCoFactors.xy + CameraTexCoFactors.zw;
   }
diff --git a/source/blender/python/intern/bpy_traceback.c 
b/source/blender/python/intern/bpy_traceback.c
index 45977ba400c..cb93843a6de 100644
--- a/source/blender/python/intern/bpy_traceback.c
+++ b/source/blender/python/intern/bpy_traceback.c
@@ -165,7 +165,7 @@ finally:
 bool python_script_error_jump(
     const char *filepath, int *r_lineno, int *r_offset, int *r_lineno_end, int 
*r_offset_end)
 {
-  /* WARNING(@campbellbarton): The normalized exception is restored (loosing 
line number info).
+  /* WARNING(@campbellbarton): The normalized exception is restored (losing 
line number info).
    * Ideally this would leave the exception state as it found it, but that 
needs to be done
    * carefully with regards to reference counting, see: T97731. */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
List details, subscription details or unsubscribe:
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to