diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-28 16:15:50 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-28 16:15:50 +0400 |
commit | 8445a56b488f45d9ef6aebcf0ef23a8a5203e0b4 (patch) | |
tree | bddeb68a08ed494e0234f6ecacd57acb0723d69b /release/scripts/startup/bl_operators/object_align.py | |
parent | 753890d0e80fc5b3ab16b42478e6226de4c80c36 (diff) |
use more conventional names in rigid body script.
Diffstat (limited to 'release/scripts/startup/bl_operators/object_align.py')
-rw-r--r-- | release/scripts/startup/bl_operators/object_align.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/release/scripts/startup/bl_operators/object_align.py b/release/scripts/startup/bl_operators/object_align.py index dd647733850..e843209da3c 100644 --- a/release/scripts/startup/bl_operators/object_align.py +++ b/release/scripts/startup/bl_operators/object_align.py @@ -129,17 +129,17 @@ def align_objects(context, flag_first = True - objs = [] + objects = [] for obj in context.selected_objects: matrix_world = obj.matrix_world.copy() bb_world = [matrix_world * Vector(v[:]) for v in obj.bound_box] - objs.append((obj, bb_world)) + objects.append((obj, bb_world)) - if not objs: + if not objects: return False - for obj, bb_world in objs: + for obj, bb_world in objects: if bb_quality and obj.type == 'MESH': GBB = GlobalBB_HQ(obj) @@ -201,7 +201,7 @@ def align_objects(context, # Main Loop - for obj, bb_world in objs: + for obj, bb_world in objects: matrix_world = obj.matrix_world.copy() bb_world = [matrix_world * Vector(v[:]) for v in obj.bound_box] |