diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-19 18:59:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-19 19:12:29 +0300 |
commit | d7d3233715503ecc15b8dd1973f7e73257e2cbda (patch) | |
tree | f9f9ab24b89fe574b3f972e45c8337bcd791a9b1 /io_export_paper_model.py | |
parent | 84b817117328b3193533324846ec389b1f5fe5c4 (diff) |
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
Diffstat (limited to 'io_export_paper_model.py')
-rw-r--r-- | io_export_paper_model.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/io_export_paper_model.py b/io_export_paper_model.py index df24fd67..38444b37 100644 --- a/io_export_paper_model.py +++ b/io_export_paper_model.py @@ -245,7 +245,7 @@ class Unfolder: def save(self, properties): """Export the document""" - # Note about scale: input is direcly in blender length + # Note about scale: input is directly in blender length # Mesh.scale_islands multiplies everything by a user-defined ratio # exporters (SVG or PDF) multiply everything by 1000 (output in millimeters) Exporter = SVG if properties.file_format == 'SVG' else PDF @@ -472,7 +472,7 @@ class Mesh: def generate_stickers(self, default_width, do_create_numbers=True): """Add sticker faces where they are needed.""" def uvedge_priority(uvedge): - """Retuns whether it is a good idea to stick something on this edge's face""" + """Returns whether it is a good idea to stick something on this edge's face""" # TODO: it should take into account overlaps with faces and with other stickers return uvedge.uvface.face.area / sum((vb.co - va.co).length for (va, vb) in pairs(uvedge.uvface.vertices)) |