From 47c68ade3c14b103668ce2d431655fced3164d1f Mon Sep 17 00:00:00 2001 From: Jonas Strandstedt Date: Wed, 3 Dec 2014 16:42:22 +0100 Subject: [PATCH] Small fix for finding the SGCT configuration path --- src/engine/openspaceengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/openspaceengine.cpp b/src/engine/openspaceengine.cpp index 36ba039664..85b91e39d3 100644 --- a/src/engine/openspaceengine.cpp +++ b/src/engine/openspaceengine.cpp @@ -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; }