[Bf-blender-cvs] [6b54752] master: Fix T37667: rotational difference driver target marked invalid even though valid.
Brecht Van Lommel
noreply at git.blender.org
Sun Dec 1 15:06:50 CET 2013
Commit: 6b54752c2e1bb0fff2a1abbd5a04612355d5de49
Author: Brecht Van Lommel
Date: Sun Dec 1 15:05:03 2013 +0100
http://developer.blender.org/rB6b54752c2e1bb0fff2a1abbd5a04612355d5de49
Fix T37667: rotational difference driver target marked invalid even though valid.
===================================================================
M source/blender/blenkernel/intern/fcurve.c
===================================================================
diff --git a/source/blender/blenkernel/intern/fcurve.c b/source/blender/blenkernel/intern/fcurve.c
index a40d740..32098c6 100644
--- a/source/blender/blenkernel/intern/fcurve.c
+++ b/source/blender/blenkernel/intern/fcurve.c
@@ -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);
More information about the Bf-blender-cvs
mailing list