mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 17:10:45 +02:00
Fix for non-Faceshift eye and mouth movement.
This commit is contained in:
parent
dfa3ea78da
commit
083c5e34b2
1 changed files with 5 additions and 3 deletions
|
@ -142,7 +142,9 @@ void Head::simulate(float deltaTime, bool isMine) {
|
|||
|
||||
// Update audio trailing average for rendering facial animations
|
||||
Faceshift* faceshift = Application::getInstance()->getFaceshift();
|
||||
_isFaceshiftConnected = faceshift != NULL;
|
||||
if (isMine) {
|
||||
_isFaceshiftConnected = faceshift->isActive();
|
||||
}
|
||||
|
||||
if (isMine && faceshift->isActive()) {
|
||||
const float EYE_OPEN_SCALE = 0.5f;
|
||||
|
|
Loading…
Reference in a new issue