diff options
author | Joshua Leung <aligorith@gmail.com> | 2007-08-14 15:19:35 +0400 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2007-08-14 15:19:35 +0400 |
commit | 7d93e1ec2f79b400c69353355ed0de7092abeed3 (patch) | |
tree | b0bac3f0b81028b16624bb833a14ea5b2a8bd2dc /source/blender | |
parent | 35bc7079e32b9c28571b9fb1ee5081cd0376927e (diff) |
constraint_mat_convertspace is now no longer static/private to constraint.c
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/BKE_constraint.h | 2 | ||||
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 2 |
2 files changed, 3 insertions, 1 deletions
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]; |