[Bf-blender-cvs] [c54e28a] BendyBones: Bendy Bones: Fix - Scale In/Out not being initialised for new pose bones

Joshua Leung noreply at git.blender.org
Tue May 17 16:40:31 CEST 2016


Commit: c54e28aba1e3de0f53926a812d9eef5e26a451e2
Author: Joshua Leung
Date:   Sat May 14 18:01:46 2016 +1200
Branches: BendyBones
https://developer.blender.org/rBc54e28aba1e3de0f53926a812d9eef5e26a451e2

Bendy Bones: Fix - Scale In/Out not being initialised for new pose bones

===================================================================

M	source/blender/blenkernel/intern/action.c

===================================================================

diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c
index b969c9e..40670de 100644
--- a/source/blender/blenkernel/intern/action.c
+++ b/source/blender/blenkernel/intern/action.c
@@ -493,6 +493,8 @@ bPoseChannel *BKE_pose_channel_verify(bPose *pose, const char *name)
 	unit_axis_angle(chan->rotAxis, &chan->rotAngle);
 	chan->size[0] = chan->size[1] = chan->size[2] = 1.0f;
 	
+	chan->scaleIn = chan->scaleOut = 1.0f;
+	
 	chan->limitmin[0] = chan->limitmin[1] = chan->limitmin[2] = -180.0f;
 	chan->limitmax[0] = chan->limitmax[1] = chan->limitmax[2] = 180.0f;
 	chan->stiffness[0] = chan->stiffness[1] = chan->stiffness[2] = 0.0f;




More information about the Bf-blender-cvs mailing list