mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 12:57:59 +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
|
// Update audio trailing average for rendering facial animations
|
||||||
Faceshift* faceshift = Application::getInstance()->getFaceshift();
|
Faceshift* faceshift = Application::getInstance()->getFaceshift();
|
||||||
_isFaceshiftConnected = faceshift != NULL;
|
if (isMine) {
|
||||||
|
_isFaceshiftConnected = faceshift->isActive();
|
||||||
|
}
|
||||||
|
|
||||||
if (isMine && faceshift->isActive()) {
|
if (isMine && faceshift->isActive()) {
|
||||||
const float EYE_OPEN_SCALE = 0.5f;
|
const float EYE_OPEN_SCALE = 0.5f;
|
||||||
|
|
Loading…
Reference in a new issue