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:
Diffstat (limited to 'release/scripts/startup/bl_operators/object_align.py')
-rw-r--r--release/scripts/startup/bl_operators/object_align.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/object_align.py b/release/scripts/startup/bl_operators/object_align.py
index 04a4d7d8f42..99507aadc12 100644
--- a/release/scripts/startup/bl_operators/object_align.py
+++ b/release/scripts/startup/bl_operators/object_align.py
@@ -22,6 +22,7 @@ import bpy
from mathutils import Vector
from blf import gettext as _
+
def GlobalBB_LQ(bb_world):
# Initialize the variables with the 8th vertex
@@ -34,7 +35,7 @@ def GlobalBB_LQ(bb_world):
)
# Test against the other 7 verts
- for i in range (7):
+ for i in range(7):
# X Range
val = bb_world[i][0]
@@ -62,6 +63,7 @@ def GlobalBB_LQ(bb_world):
return (Vector((left, front, up)), Vector((right, back, down)))
+
def GlobalBB_HQ(obj):
matrix_world = obj.matrix_world.copy()
@@ -81,7 +83,7 @@ def GlobalBB_HQ(obj):
)
# Test against all other verts
- for i in range (len(verts)-1):
+ for i in range(len(verts) - 1):
vco = matrix_world * verts[i].co