Fix T37667: rotational difference driver target marked invalid even though valid.
This commit is contained in:
parent
69e9927b6c
commit
6b54752c2e
Notes:
blender-bot
2023-02-14 11:32:12 +01:00
Referenced by issue #37677, crash in sculpt mode with smooth shading Referenced by issue #37667, Driver variable, rotational difference, red.
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue