Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-03 17:49:08 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-09-03 17:55:01 +0300
commit4da2acae3ab1a40db8be7f7df36da29cfcbf280c (patch)
treef0e69e62ff7284bbed031eb82362f10e289aecb0 /release/scripts/startup/bl_operators/uvcalc_smart_project.py
parentc6bbe6c5aac29a4d36eb3aedd488ca4deac68fb7 (diff)
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3668
Diffstat (limited to 'release/scripts/startup/bl_operators/uvcalc_smart_project.py')
-rw-r--r--release/scripts/startup/bl_operators/uvcalc_smart_project.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/release/scripts/startup/bl_operators/uvcalc_smart_project.py b/release/scripts/startup/bl_operators/uvcalc_smart_project.py
index f0b1f934e38..318012d57ab 100644
--- a/release/scripts/startup/bl_operators/uvcalc_smart_project.py
+++ b/release/scripts/startup/bl_operators/uvcalc_smart_project.py
@@ -271,7 +271,7 @@ def optiRotateUvIsland(faces):
# orient them vertically (could be an option)
minx, miny, maxx, maxy = boundsIsland(faces)
w, h = maxx - minx, maxy - miny
- # use epsilon so we dont randomly rotate (almost) perfect squares.
+ # use epsilon so we don't randomly rotate (almost) perfect squares.
if h + 0.00001 < w:
from math import pi
angle = pi / 2.0
@@ -357,7 +357,7 @@ def mergeUvIslands(islandList):
BREAK = True
break
- # Now we have 2 islands, if the efficiency of the islands lowers theres an
+ # Now we have 2 islands, if the efficiency of the islands lowers there's an
# increasing likely hood that we can fit merge into the bigger UV island.
# this ensures a tight fit.
@@ -625,7 +625,7 @@ def packIslands(islandList):
h = SMALL_NUM
"""Save the offset to be applied later,
- we could apply to the UVs now and allign them to the bottom left hand area
+ we could apply to the UVs now and align them to the bottom left hand area
of the UV coords like the box packer imagines they are
but, its quicker just to remember their offset and
apply the packing and offset in 1 pass """
@@ -873,7 +873,7 @@ def main(context,
# This while only gathers projection vecs, faces are assigned later on.
while 1:
- # If theres none there then start with the largest face
+ # If there's none there then start with the largest face
# add all the faces that are close.
for fIdx in range(len(tempMeshFaces) - 1, -1, -1):