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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-09 23:05:29 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-09 23:05:29 +0400
commitcd85e5b31789c0058a71b1493a9ff58b95481cc4 (patch)
tree8bc1c4b5a7983afe2337b0624af62c549922516a /release/scripts/modules/bpy_types.py
parent44ee52ab4bb3d47f5b8bb7de9f78d3ab7b3cd7da (diff)
fix [#31383] EditBone.align_orientation() uses Vector.normalize() incorrectly
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r--release/scripts/modules/bpy_types.py2
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