From 0ea268b3df2411cc7af44b27c5ea5ce31e658dbb Mon Sep 17 00:00:00 2001 From: Julien Duroure Date: Wed, 16 Oct 2024 08:16:50 +0200 Subject: [PATCH] Cleanup: spelling in comments from blender repo --- addons/io_scene_gltf2/blender/com/gltf2_blender_utils.py | 4 ++-- addons/io_scene_gltf2/blender/exp/animation/anim_utils.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/io_scene_gltf2/blender/com/gltf2_blender_utils.py b/addons/io_scene_gltf2/blender/com/gltf2_blender_utils.py index 18cd3a5b9..531596004 100644 --- a/addons/io_scene_gltf2/blender/com/gltf2_blender_utils.py +++ b/addons/io_scene_gltf2/blender/com/gltf2_blender_utils.py @@ -27,11 +27,11 @@ def fast_structured_np_unique(arr, *args, **kwargs): Float field caveats: All elements of -0.0 in the input array will be replaced with 0.0 to ensure that both values are collapsed into one. - NaN values can have lots of different byte representations (e.g. signalling/quiet and custom payloads). Only the + NaN values can have lots of different byte representations (e.g. signaling/quiet and custom payloads). Only the duplicates of each unique byte representation will be collapsed into one. Nested structured dtypes are not supported. - The behaviour of structured dtypes with overlapping fields is undefined. + The behavior of structured dtypes with overlapping fields is undefined. """ structured_dtype = arr.dtype fields = structured_dtype.fields diff --git a/addons/io_scene_gltf2/blender/exp/animation/anim_utils.py b/addons/io_scene_gltf2/blender/exp/animation/anim_utils.py index 75da29331..b8cda6813 100644 --- a/addons/io_scene_gltf2/blender/exp/animation/anim_utils.py +++ b/addons/io_scene_gltf2/blender/exp/animation/anim_utils.py @@ -31,7 +31,7 @@ def link_samplers(animation: gltf2_io.Animation, export_settings): After gathering, samplers are stored in the channels properties of the animation and need to be moved to their own list while storing an index into this list at the position where they previously were. - This behaviour is similar to that of the glTFExporter that traverses all nodes + This behavior is similar to that of the glTFExporter that traverses all nodes :param animation: :param export_settings: :return: