Bug fix with default recording directory.

This commit is contained in:
Tadas Baltrusaitis
2017-11-17 07:54:22 +00:00
parent 694dfb28ba
commit 5a483f7486
5 changed files with 11 additions and 6 deletions

View File

@@ -109,6 +109,10 @@ RecorderOpenFace::RecorderOpenFace(const std::string in_filename, RecorderOpenFa
}
}
// If recording directory not set, record to default location
if (record_root.empty())
record_root = default_record_directory;
for (int i = (int)arguments.size() - 1; i >= 0; --i)
{
if (!valid[i])