connected blendshapes

This commit is contained in:
Atlante45 2014-08-04 11:04:14 -07:00
parent cac3983778
commit c80cd0d71d

View file

@ -68,6 +68,9 @@ void Head::simulate(float deltaTime, bool isMine, bool billboard) {
if ((_isFaceshiftConnected = faceTracker)) {
_blendshapeCoefficients = faceTracker->getBlendshapeCoefficients();
_isFaceshiftConnected = true;
} else if (Application::getInstance()->getDDE()->isActive()) {
faceTracker = Application::getInstance()->getDDE();
_blendshapeCoefficients = faceTracker->getBlendshapeCoefficients();
}
}