From 7d93e1ec2f79b400c69353355ed0de7092abeed3 Mon Sep 17 00:00:00 2001 From: Joshua Leung Date: Tue, 14 Aug 2007 11:19:35 +0000 Subject: constraint_mat_convertspace is now no longer static/private to constraint.c --- source/blender/blenkernel/BKE_constraint.h | 2 ++ source/blender/blenkernel/intern/constraint.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'source/blender/blenkernel') diff --git a/source/blender/blenkernel/BKE_constraint.h b/source/blender/blenkernel/BKE_constraint.h index 628032c1fca..c2fdd551d79 100644 --- a/source/blender/blenkernel/BKE_constraint.h +++ b/source/blender/blenkernel/BKE_constraint.h @@ -90,6 +90,8 @@ void set_constraint_target(struct bConstraint *con, struct Object *ob, char *sub struct bConstraintOb *constraints_make_evalob(struct Object *ob, void *subdata, short datatype); void constraints_clear_evalob(struct bConstraintOb *cob); +void constraint_mat_convertspace(struct Object *ob, struct bPoseChannel *pchan, float mat[][4], short from, short to); + short get_constraint_target_matrix(struct bConstraint *con, short ownertype, void *ownerdata, float mat[][4], float time); void solve_constraints (struct ListBase *conlist, struct bConstraintOb *cob, float ctime); diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index 08b8239513b..205feb15ab3 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -914,7 +914,7 @@ void do_constraint_channels (ListBase *conbase, ListBase *chanbase, float ctime) * of a matrix from one space to another for constraint evaluation. * For now, this is only implemented for Objects and PoseChannels. */ -static void constraint_mat_convertspace (Object *ob, bPoseChannel *pchan, float mat[][4], short from, short to) +void constraint_mat_convertspace (Object *ob, bPoseChannel *pchan, float mat[][4], short from, short to) { float tempmat[4][4]; float diff_mat[4][4]; -- cgit v1.2.3