Added AutoJoin template parameter to timeline classes

Previously, timelines would always automatically join adjacent elements
if their values were equal. That behavior was usually desired for mouth
shapes, but not for phones, animation rules, etc.
This commit is contained in:
Daniel Wolf
2016-12-08 09:55:49 +01:00
parent 2eb0948c49
commit a24fe8874c
22 changed files with 148 additions and 79 deletions

View File

@@ -125,7 +125,7 @@ int main(int argc, char *argv[]) {
vector<char*>(argv, argv + argc) | transformed([](char* arg) { return fmt::format("\"{}\"", arg); }), " "));
std::cerr << "Processing input file. ";
ContinuousTimeline<Shape> animation(TimeRange::zero(), Shape::X);
JoiningContinuousTimeline<Shape> animation(TimeRange::zero(), Shape::X);
{
ProgressBar progressBar;