constraint_mat_convertspace is now no longer static/private to constraint.c
This commit is contained in:
parent
35bc7079e3
commit
7d93e1ec2f
|
@ -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);
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Reference in New Issue