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:
authorTon Roosendaal <ton@blender.org>2010-12-06 21:10:08 +0300
committerTon Roosendaal <ton@blender.org>2010-12-06 21:10:08 +0300
commite779e3b08af31f0cb5f19ebc0267dd32868cc4c4 (patch)
treee6b600ec4b47df2040314a1666c936d81367717b /source/blender/editors/armature/poseobject.c
parent59268ca715bf605554002952173bc5e691c0ea04 (diff)
Bugfix #25003
Pose mode: "Paste flipped" failed on not-normalized quaternions (for example ones you edited with buttons)
Diffstat (limited to 'source/blender/editors/armature/poseobject.c')
-rw-r--r--source/blender/editors/armature/poseobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/armature/poseobject.c b/source/blender/editors/armature/poseobject.c
index fbc0e4929ee..55d24550167 100644
--- a/source/blender/editors/armature/poseobject.c
+++ b/source/blender/editors/armature/poseobject.c
@@ -1015,6 +1015,7 @@ static int pose_paste_exec (bContext *C, wmOperator *op)
else {
float eul[3];
+ normalize_qt(pchan->quat);
quat_to_eul(eul, pchan->quat);
eul[1]*= -1;
eul[2]*= -1;