forked from bartvdbraak/blender
Attempted bugfix for TrackTo constraint - reverting the only change (that I've picked up so far) that I made to the code of the TrackTo constraint. Apparently the Align to Target feature was broken...
This commit is contained in:
parent
52f551678b
commit
063fbdc2a4
@ -1989,6 +1989,9 @@ static void evaluate_constraint (bConstraint *constraint, float ownermat[][4], f
|
||||
ownermat[2][1]=0;
|
||||
ownermat[2][2]=size[2];
|
||||
|
||||
/* targetmat[2] instead of ownermat[2] is passed to vectomat
|
||||
* for backwards compatability it seems... (Aligorith)
|
||||
*/
|
||||
VecSubf(vec, ownermat[3], targetmat[3]);
|
||||
vectomat(vec, ownermat[2],
|
||||
(short)data->reserved1, (short)data->reserved2,
|
||||
|
Loading…
Reference in New Issue
Block a user