From a5aeca4a64dfd2ec6d0d68acf2fd9e4a9498558d Mon Sep 17 00:00:00 2001 From: Alexander Gavrilov Date: Thu, 9 Aug 2018 17:17:40 +0300 Subject: Fix dependency graph for constraints depending on B-Bone shape. Some constraints have an option to take the final bezier shape of the target B-Bone into account. This shape usually depends on two other bones in addition to the target itself, so the graph should include the relevant dependencies. Reviewers: sergey Differential Revision: https://developer.blender.org/D3591 --- source/blender/blenkernel/BKE_armature.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/blenkernel/BKE_armature.h') diff --git a/source/blender/blenkernel/BKE_armature.h b/source/blender/blenkernel/BKE_armature.h index 17329beb325..2e2da281af4 100644 --- a/source/blender/blenkernel/BKE_armature.h +++ b/source/blender/blenkernel/BKE_armature.h @@ -140,6 +140,8 @@ typedef struct Mat4 { float mat[4][4]; } Mat4; +void BKE_pchan_get_bbone_handles(struct bPoseChannel *pchan, struct bPoseChannel **r_prev, struct bPoseChannel **r_next); + void equalize_bbone_bezier(float *data, int desired); void b_bone_spline_setup(struct bPoseChannel *pchan, int rest, Mat4 result_array[MAX_BBONE_SUBDIV]); -- cgit v1.2.3