One Property Tree (#500)

* Organize properties in one single property tree
* Update scenes to work with one property tree. Fix documentation issues.
This commit is contained in:
Emil Axelsson
2018-03-06 16:59:06 +01:00
committed by GitHub
parent ebd69d1333
commit 4675554471
53 changed files with 527 additions and 603 deletions

View File

@@ -573,17 +573,7 @@ std::string ScriptEngine::generateJson() const {
}
json << "]";
std::string jsonString = "";
for (const char& c : json.str()) {
if (c == '\'') {
jsonString += "\\'";
}
else {
jsonString += c;
}
}
return jsonString;
return json.str();
}
bool ScriptEngine::writeLog(const std::string& script) {