diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-09 23:05:29 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-09 23:05:29 +0400 |
commit | cd85e5b31789c0058a71b1493a9ff58b95481cc4 (patch) | |
tree | 8bc1c4b5a7983afe2337b0624af62c549922516a /release | |
parent | 44ee52ab4bb3d47f5b8bb7de9f78d3ab7b3cd7da (diff) |
fix [#31383] EditBone.align_orientation() uses Vector.normalize() incorrectly
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 91d8f1b3467..9ad9a7affc3 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -304,7 +304,7 @@ class EditBone(StructRNA, _GenericBone, metaclass=StructMetaPropGroup): Align this bone to another by moving its tail and settings its roll the length of the other bone is not used. """ - vec = other.vector.normalize() * self.length + vec = other.vector.normalized() * self.length self.tail = self.head + vec self.roll = other.roll |