Fixed fallback shape for empty exports
This commit is contained in:
parent
289b7ba56e
commit
3b599cc751
|
@ -6,7 +6,7 @@ std::vector<Timed<Shape>> dummyShapeIfEmpty(const Timeline<Shape>& shapes) {
|
||||||
std::copy(shapes.begin(), shapes.end(), std::back_inserter(result));
|
std::copy(shapes.begin(), shapes.end(), std::back_inserter(result));
|
||||||
if (result.empty()) {
|
if (result.empty()) {
|
||||||
// Add zero-length empty mouth
|
// Add zero-length empty mouth
|
||||||
result.push_back(Timed<Shape>(0_cs, 0_cs, Shape::A));
|
result.push_back(Timed<Shape>(0_cs, 0_cs, Shape::X));
|
||||||
}
|
}
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue