Update Ghoul repository

Adapt to changes in Ghoul
This commit is contained in:
Alexander Bock
2020-02-12 00:01:24 +01:00
parent fde307ead9
commit 81fda6c8db
16 changed files with 34 additions and 40 deletions

View File

@@ -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();
}