Fixed predictive mouth animation

This commit is contained in:
Daniel Wolf 2016-08-10 18:53:01 +02:00
parent 16892ae991
commit 8b025a3522
1 changed files with 2 additions and 1 deletions

View File

@ -230,8 +230,9 @@ ContinuousTimeline<Shape> animate(const BoundedTimeline<Phone> &phones) {
// Convert viseme to phone
Shape shape = viseme.getShape(it->getTimeRange().getLength(), lastShape);
shapes.set(it->getTimeRange(), shape);
lastShape = shape;
}
// Animate pauses