From cd85e5b31789c0058a71b1493a9ff58b95481cc4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 9 May 2012 19:05:29 +0000 Subject: fix [#31383] EditBone.align_orientation() uses Vector.normalize() incorrectly --- release/scripts/modules/bpy_types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'release/scripts/modules/bpy_types.py') 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 -- cgit v1.2.3