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>2019-07-31 14:27:19 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2019-07-31 14:28:52 +0300
commit4e1cda9885a6ef508396a8f60c292350af8f3f3d (patch)
treee3051b0a0710fd83e241531426e263c6c8542f6c /io_export_paper_model.py
parent2176c8f2aaac6eb1fb6d1e159100396f1c500f22 (diff)
Spelling fixes in comments and descriptions, patch by luzpaz
Differential Revision: https://developer.blender.org/D5240
Diffstat (limited to 'io_export_paper_model.py')
-rw-r--r--io_export_paper_model.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_export_paper_model.py b/io_export_paper_model.py
index 39b65505..4edbea42 100644
--- a/io_export_paper_model.py
+++ b/io_export_paper_model.py
@@ -216,7 +216,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
@@ -438,7 +438,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
face = uvedge.uvface.face
return face.calc_area() / face.calc_perimeter()