mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
Fix for taking screenshots
Update Ghoul version
This commit is contained in:
@@ -309,11 +309,10 @@ void mainInitFunc() {
|
||||
std::tm* nowTime = std::localtime(&now);
|
||||
char mbstr[128];
|
||||
strftime(mbstr, sizeof(mbstr), "%Y-%m-%d-%H-%M", nowTime);
|
||||
screenshotPath += "/" + std::string(mbstr);
|
||||
|
||||
FileSys.registerPathToken(
|
||||
"${SCREENSHOTS}",
|
||||
absPath(screenshotPath),
|
||||
absPath(screenshotPath + '/' + std::string(mbstr)),
|
||||
ghoul::filesystem::FileSystem::Override::Yes
|
||||
);
|
||||
}
|
||||
|
||||
Submodule ext/ghoul updated: aa95228919...94acf4c2d4
2
ext/sgct
2
ext/sgct
Submodule ext/sgct updated: 6a344742d7...7037d71a8c
@@ -219,7 +219,7 @@ void SyncHttpDownload::download(HttpRequest::RequestOptions opt) {
|
||||
});
|
||||
_httpRequest.perform(opt);
|
||||
deinitDownload();
|
||||
|
||||
|
||||
LTRACE(fmt::format("End sync download '{}'", _httpRequest.url()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user