Fixed fallback shape for empty exports

This commit is contained in:
Daniel Wolf 2016-11-16 11:36:10 +01:00
parent 289b7ba56e
commit 3b599cc751
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ std::vector<Timed<Shape>> dummyShapeIfEmpty(const Timeline<Shape>& shapes) {
std::copy(shapes.begin(), shapes.end(), std::back_inserter(result));
if (result.empty()) {
// 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;
}