diff options
author | Joshua Leung <aligorith@gmail.com> | 2016-05-14 09:01:46 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2016-05-17 17:28:51 +0300 |
commit | c54e28aba1e3de0f53926a812d9eef5e26a451e2 (patch) | |
tree | 1c1f0ee9926d45cf6d9042926ab57d7ae1bf2610 /source | |
parent | 3a6cc8105c1f4c1527285be4d52f212eb18401db (diff) |
Bendy Bones: Fix - Scale In/Out not being initialised for new pose bones
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/blenkernel/intern/action.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/action.c b/source/blender/blenkernel/intern/action.c index b969c9ec787..40670defe1f 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; |