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 19:13:31 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 19:13:31 +0300
commit1c75533d9cc0693733bacbadecfaac5c504313fb (patch)
tree865ca6cfc8f2ea136d7ff2462e435151e612d06d /io_export_paper_model.py
parent4179941c58871bf85cf275130af0696affa5040f (diff)
parentd7d3233715503ecc15b8dd1973f7e73257e2cbda (diff)
Merge branch 'master' into blender2.8
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 6a1e1894..0906eb33 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))