Mentions légales du service

Skip to content
Snippets Groups Projects
Commit ae39c0af authored by bkerbl's avatar bkerbl
Browse files

Short path for remote

parent 4775060e
No related branches found
No related tags found
1 merge request!40core/utils: fix installDirectory method in linux
......@@ -123,6 +123,9 @@ int main(int ac, char** av) {
RemoteAppArgs myArgs;
myArgs.displayHelpIfRequired();
if(!myArgs.dataset_path.isInit() && myArgs.pathShort.isInit())
myArgs.dataset_path = myArgs.pathShort.get();
const bool doVSync = !myArgs.vsync;
// rendering size
uint rendering_width = myArgs.rendering_size.get()[0];
......
......@@ -42,6 +42,7 @@ namespace sibr {
/// Arguments for all ULR applications.
struct RemoteAppArgs :
virtual BasicIBRAppArgs {
RequiredArg<std::string> pathShort = {"s", "path to the dataset root"};
Arg<bool> loadImages = { "load_images", "Whether or not to load images for scene overview" };
Arg<std::string> ip = { "ip", "127.0.0.1", "Target IP to connect to (default localhost)"};
Arg<uint> port = { "port", 6009, "Port to use for connection" };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment