mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-02-27 23:39:01 -06:00
Update Ghoul repository
Adapt to changes in Ghoul
This commit is contained in:
@@ -144,11 +144,10 @@ void TransferFunction::saveEnvelopesToFile(const std::string& path) {
|
||||
envelopesToLua(state);
|
||||
|
||||
ghoul::lua::luaDictionaryFromState(state, dictionary);
|
||||
ghoul::DictionaryLuaFormatter formatter;
|
||||
std::ofstream tfFile;
|
||||
tfFile.open(path);
|
||||
tfFile << "return {";
|
||||
tfFile << formatter.format(dictionary);
|
||||
tfFile << ghoul::formatLua(dictionary);
|
||||
tfFile << "}";
|
||||
tfFile.close();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user