Small fix for finding the SGCT configuration path

This commit is contained in:
Jonas Strandstedt
2014-12-03 16:42:22 +01:00
parent 279e9e82ba
commit 47c68ade3c
+1 -1
View File
@@ -341,7 +341,7 @@ bool OpenSpaceEngine::create(int argc, char** argv,
// as well as the configuration file that sgct is supposed to use
sgctArguments.insert(sgctArguments.begin(), argv[0]);
sgctArguments.insert(sgctArguments.begin() + 1, _sgctConfigArgumentCommand);
sgctArguments.insert(sgctArguments.begin() + 2, sgctConfigurationPath);
sgctArguments.insert(sgctArguments.begin() + 2, absPath(sgctConfigurationPath));
return true;
}