diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-03 18:44:36 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-09-03 18:44:36 +0300 |
commit | a43ebc63fafeb3b945529117a2efacc80399d272 (patch) | |
tree | d8ab3e90e50177874f2423b3bc1486548dccd7dd /release/scripts/startup/bl_operators | |
parent | b46e987a70682fcfc227ec71e9726c3ad6a230db (diff) | |
parent | 265ec400ab1945cd7bc78d50b7d8f184c01fdd10 (diff) |
Merge branch 'master' into blender2.8
Conflicts:
source/blender/blenkernel/intern/collision.c
Diffstat (limited to 'release/scripts/startup/bl_operators')
5 files changed, 8 insertions, 8 deletions
diff --git a/release/scripts/startup/bl_operators/object.py b/release/scripts/startup/bl_operators/object.py index c49591ff300..8b751ed2ebf 100644 --- a/release/scripts/startup/bl_operators/object.py +++ b/release/scripts/startup/bl_operators/object.py @@ -476,7 +476,7 @@ class ShapeTransfer(Operator): objects = [ob for ob in context.selected_editable_objects if ob != ob_act] - if 1: # swap from/to, means we cant copy to many at once. + if 1: # swap from/to, means we can't copy to many at once. if len(objects) != 1: self.report({'ERROR'}, ("Expected one other selected " diff --git a/release/scripts/startup/bl_operators/uvcalc_follow_active.py b/release/scripts/startup/bl_operators/uvcalc_follow_active.py index 414fc9c7b32..9de2aa4e76e 100644 --- a/release/scripts/startup/bl_operators/uvcalc_follow_active.py +++ b/release/scripts/startup/bl_operators/uvcalc_follow_active.py @@ -52,7 +52,7 @@ def extend(obj, operator, EXTEND_MODE): # our own local walker def walk_face_init(faces, f_act): - # first tag all faces True (so we dont uvmap them) + # first tag all faces True (so we don't uvmap them) for f in bm.faces: f.tag = True # then tag faces arg False diff --git a/release/scripts/startup/bl_operators/uvcalc_lightmap.py b/release/scripts/startup/bl_operators/uvcalc_lightmap.py index b866fb1ce40..4ad9bfb7be8 100644 --- a/release/scripts/startup/bl_operators/uvcalc_lightmap.py +++ b/release/scripts/startup/bl_operators/uvcalc_lightmap.py @@ -450,7 +450,7 @@ def lightmap_uvpack(meshes, max_int_dimension = int(((side_len / float_to_int_factor)) / PREF_BOX_DIV) ok = True else: - max_int_dimension = 0.0 # wont be used + max_int_dimension = 0.0 # won't be used ok = False # RECURSIVE pretty face grouping diff --git a/release/scripts/startup/bl_operators/uvcalc_smart_project.py b/release/scripts/startup/bl_operators/uvcalc_smart_project.py index b01a50d5d6a..1f67ff4c71f 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): diff --git a/release/scripts/startup/bl_operators/wm.py b/release/scripts/startup/bl_operators/wm.py index 6a9b85eac27..7e0ec777b4f 100644 --- a/release/scripts/startup/bl_operators/wm.py +++ b/release/scripts/startup/bl_operators/wm.py @@ -111,7 +111,7 @@ def operator_path_is_undo(context, data_path): # note that if we have data paths that use strings this could fail # luckily we don't do this! # - # When we cant find the data owner assume no undo is needed. + # When we can't find the data owner assume no undo is needed. data_path_head = data_path.rpartition(".")[0] if not data_path_head: |