Fixed predictive mouth animation
This commit is contained in:
parent
16892ae991
commit
8b025a3522
|
@ -230,8 +230,9 @@ ContinuousTimeline<Shape> animate(const BoundedTimeline<Phone> &phones) {
|
||||||
|
|
||||||
// Convert viseme to phone
|
// Convert viseme to phone
|
||||||
Shape shape = viseme.getShape(it->getTimeRange().getLength(), lastShape);
|
Shape shape = viseme.getShape(it->getTimeRange().getLength(), lastShape);
|
||||||
|
|
||||||
shapes.set(it->getTimeRange(), shape);
|
shapes.set(it->getTimeRange(), shape);
|
||||||
|
|
||||||
|
lastShape = shape;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Animate pauses
|
// Animate pauses
|
||||||
|
|
Loading…
Reference in New Issue