Fix T37667: rotational difference driver target marked invalid even though valid.

This commit is contained in:
Brecht Van Lommel 2013-12-01 15:05:03 +01:00
parent 69e9927b6c
commit 6b54752c2e

@ -1148,6 +1148,10 @@ static float dvar_eval_rotDiff(ChannelDriver *driver, DriverVar *dvar)
/* stop here... */
return 0.0f;
}
else {
dtar1->flag &= ~DTAR_FLAG_INVALID;
dtar2->flag &= ~DTAR_FLAG_INVALID;
}
/* use the final posed locations */
mat4_to_quat(q1, pchan->pose_mat);