minor fix to Actor.flush() with controlJoints

This commit is contained in:
David Rose 2006-06-08 23:01:59 +00:00
parent 87a912818b
commit 9cc19ba6af
1 changed files with 3 additions and 1 deletions

View File

@ -38,7 +38,9 @@ AnimChannelMatrixDynamic::
AnimChannelMatrixDynamic(AnimGroup *parent, const string &name)
: AnimChannelMatrix(parent, name)
{
_last_value = _value = TransformState::make_identity();
_value = TransformState::make_identity();
_last_value = NULL; // This is impossible; thus, has_changed() will
// always return true the first time.
}
////////////////////////////////////////////////////////////////////