Skip to content

Commit

Permalink
x-platform path for Examples
Browse files Browse the repository at this point in the history
  • Loading branch information
sytelus committed Jul 13, 2017
1 parent 9d5f8c2 commit 22ace92
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Examples/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ void runSteroImageGenerator(int num_samples, std::string storage_path)

int main(int argc, const char *argv[])
{
runSteroImageGenerator(argc < 2 ? 50000 : std::stoi(argv[1]), argc < 3 ? "D:\\stig2" : std::string(argv[2]));
runSteroImageGenerator(argc < 2 ? 50000 : std::stoi(argv[1]), argc < 3 ?
common_utils::FileSystem::combine(
common_utils::FileSystem::getAppDataFolder(), "stereo_gen")
: std::string(argv[2]));
}

0 comments on commit 22ace92

Please sign in to comment.