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 <brechtvanlommel@gmail.com>2018-10-19 18:59:58 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 19:12:29 +0300
commitd7d3233715503ecc15b8dd1973f7e73257e2cbda (patch)
treef9f9ab24b89fe574b3f972e45c8337bcd791a9b1 /io_scene_obj
parent84b817117328b3193533324846ec389b1f5fe5c4 (diff)
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
Diffstat (limited to 'io_scene_obj')
-rw-r--r--io_scene_obj/export_obj.py6
-rw-r--r--io_scene_obj/import_obj.py8
2 files changed, 7 insertions, 7 deletions
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index 15b80ab3..acdcbc6c 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -118,7 +118,7 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict):
elif mat.use_transparency and mat.transparency_method == 'RAYTRACE':
fw('illum 9\n') # 'Glass' transparency and no Ray trace reflection... fuzzy matching, but...
else:
- fw('illum 2\n') # light normaly
+ fw('illum 2\n') # light normally
else:
# Write a dummy material here?
@@ -127,7 +127,7 @@ def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict):
fw('Kd 0.8 0.8 0.8\n')
fw('Ks 0.8 0.8 0.8\n')
fw('d 1\n') # No alpha
- fw('illum 2\n') # light normaly
+ fw('illum 2\n') # light normally
# Write images!
if face_img: # We have an image on the face!
@@ -309,7 +309,7 @@ def write_file(filepath, objects, scene,
def findVertexGroupName(face, vWeightMap):
"""
Searches the vertexDict to see what groups is assigned to a given face.
- We use a frequency system in order to sort out the name because a given vetex can
+ We use a frequency system in order to sort out the name because a given vertex can
belong to two or more groups at the same time. To find the right name for the face
we list all the possible vertex group names with their frequency and then sort by
frequency in descend order. The top element is the one shared by the highest number
diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py
index a8e945cd..52a9a291 100644
--- a/io_scene_obj/import_obj.py
+++ b/io_scene_obj/import_obj.py
@@ -45,7 +45,7 @@ from progress_report import ProgressReport, ProgressReportSubstep
def line_value(line_split):
"""
Returns 1 string representing the value for this line
- None will be returned if theres only 1 word
+ None will be returned if there's only 1 word
"""
length = len(line_split)
if length == 1:
@@ -616,7 +616,7 @@ def create_mesh(new_objects,
smooth_group_users = {context_smooth_group: {} for context_smooth_group in unique_smooth_groups.keys()}
context_smooth_group_old = -1
- fgon_edges = set() # Used for storing fgon keys when we need to tesselate/untesselate them (ngons with hole).
+ fgon_edges = set() # Used for storing fgon keys when we need to tessellate/untessellate them (ngons with hole).
edges = []
tot_loops = 0
@@ -710,7 +710,7 @@ def create_mesh(new_objects,
if unique_smooth_groups:
for edge_dict in smooth_group_users.values():
for key, users in edge_dict.items():
- if users == 1: # This edge is on the boundry of a group
+ if users == 1: # This edge is on the boundary of a group
sharp_edges.add(key)
# map the material names to an index
@@ -1256,7 +1256,7 @@ def load(context,
context_nurbs = {}
context_parm = b''
- ''' # How to use usemap? depricated?
+ ''' # How to use usemap? deprecated?
elif line_start == b'usema': # usemap or usemat
context_image= line_value(line_split)
'''