diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-24 14:08:15 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-24 14:08:15 +0300 |
commit | e60e7f36679109a6c600f0029a60486e99d7995b (patch) | |
tree | 58cb1dfdc12d643283fbb1598b1c06a122c4fcaf /source/blender/blenkernel/intern/constraint.c | |
parent | bc5b56e2a8f962f7116b1d8ccdd20f07e2ff0d2b (diff) |
2.5
Removed global "workob" from BKE, should now by passed on as an arg.
Diffstat (limited to 'source/blender/blenkernel/intern/constraint.c')
-rw-r--r-- | source/blender/blenkernel/intern/constraint.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/constraint.c b/source/blender/blenkernel/intern/constraint.c index cbdcfa56ff2..97a22f9d002 100644 --- a/source/blender/blenkernel/intern/constraint.c +++ b/source/blender/blenkernel/intern/constraint.c @@ -2046,8 +2046,9 @@ static void actcon_get_tarmat (bConstraint *con, bConstraintOb *cob, bConstraint free_pose(pose); } else if (cob->type == CONSTRAINT_OBTYPE_OBJECT) { + Object workob; /* evaluate using workob */ - what_does_obaction(cob->ob, data->act, t); + what_does_obaction(cob->ob, &workob, data->act, t); object_to_mat4(&workob, ct->matrix); } else { |