mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 11:53:28 +02:00
connected blendshapes
This commit is contained in:
parent
cac3983778
commit
c80cd0d71d
1 changed files with 3 additions and 0 deletions
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue