From 8b025a3522b64f626356f0740eed4bbf9cb7da13 Mon Sep 17 00:00:00 2001 From: Daniel Wolf Date: Wed, 10 Aug 2016 18:53:01 +0200 Subject: [PATCH] Fixed predictive mouth animation --- src/mouthAnimation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mouthAnimation.cpp b/src/mouthAnimation.cpp index 06e4d82..2ffd58c 100644 --- a/src/mouthAnimation.cpp +++ b/src/mouthAnimation.cpp @@ -230,8 +230,9 @@ ContinuousTimeline animate(const BoundedTimeline &phones) { // Convert viseme to phone Shape shape = viseme.getShape(it->getTimeRange().getLength(), lastShape); - shapes.set(it->getTimeRange(), shape); + + lastShape = shape; } // Animate pauses