constraint_mat_convertspace is now no longer static/private to constraint.c

This commit is contained in:
Joshua Leung 2007-08-14 11:19:35 +00:00
parent 35bc7079e3
commit 7d93e1ec2f
2 changed files with 3 additions and 1 deletions

View File

@ -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);

View File

@ -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];