Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-06-30 18:20:39 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-06-30 18:21:18 +0300
commit6d7056ab6e342fba9a62ecfa2efd132ffe2e403a (patch)
tree5ce72983d37f5a65be515cf999cf0d9a30370f4e /io_scene_gltf2/blender/exp
parent870f9775d7cd57b2d51c6c964842b96e5ba542c0 (diff)
Cleanup: fix various typos
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D15328
Diffstat (limited to 'io_scene_gltf2/blender/exp')
-rwxr-xr-xio_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py2
-rwxr-xr-xio_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py
index 98ae8b82..3e67f1f7 100755
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animation_channels.py
@@ -37,7 +37,7 @@ def gather_animation_channels(obj_uuid: int,
if blender_action.use_frame_range is True:
bake_range_start = blender_action.frame_start
bake_range_end = blender_action.frame_end
- force_range = True # keyframe_points is read-only, we cant restrict here
+ force_range = True # keyframe_points is read-only, we can't restrict here
else:
groups = __get_channel_groups(blender_action, blender_object, export_settings)
# Note: channels has some None items only for SK if some SK are not animated
diff --git a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py
index 20a919dc..a3a7a4c2 100755
--- a/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py
+++ b/io_scene_gltf2/blender/exp/gltf2_blender_gather_animations.py
@@ -64,7 +64,7 @@ def gather_animations( obj_uuid: int,
# No TRS animation are found for this object.
# But we need to bake, in case we export selection
# (Only when force sampling is ON)
- # If force sampling is OFF, can lead to inconsistant export anyway
+ # If force sampling is OFF, can lead to inconsistent export anyway
if export_settings['gltf_selected'] is True and blender_object.type != "ARMATURE" and export_settings['gltf_force_sampling'] is True:
channels = __gather_channels_baked(obj_uuid, export_settings)
if channels is not None: