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-01-05 17:27:33 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-01-05 17:46:41 +0300
commitd68dca98ce6705dd69285692f3cdc1dbf2213c1d (patch)
tree293ad05d82522964478ddacb22e56f831194043c /io_scene_obj
parentb1cec919ec7d255c29d31bc21c91d98e0d118182 (diff)
Cleanup: fix typos in source code
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D5801
Diffstat (limited to 'io_scene_obj')
-rw-r--r--io_scene_obj/export_obj.py2
-rw-r--r--io_scene_obj/import_obj.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index 50cec836..796515cd 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -256,7 +256,7 @@ def write_file(filepath, objects, depsgraph, scene,
):
"""
Basic write function. The context and options must be already set
- This can be accessed externaly
+ This can be accessed externally
eg.
write( 'c:\\test\\foobar.obj', Blender.Object.GetSelected() ) # Using default options.
"""
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index 470e85ec..87ba4bd2 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -689,7 +689,7 @@ def create_mesh(new_objects,
me = bpy.data.meshes.new(dataname)
- # make sure the list isnt too big
+ # make sure the list isn't too big
for material in materials:
me.materials.append(material)
@@ -730,7 +730,7 @@ def create_mesh(new_objects,
me.loops.foreach_set("normal", loops_nor)
if verts_tex and me.polygons:
- # Some files Do not explicitely write the 'v' value when it's 0.0, see T68249...
+ # Some files Do not explicitly write the 'v' value when it's 0.0, see T68249...
verts_tex = [uv if len(uv) == 2 else uv + [0.0] for uv in verts_tex]
me.uv_layers.new(do_init=False)
loops_uv = tuple(uv for (_, _, face_vert_tex_indices, _, _, _, _) in faces