mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-12 14:40:00 -06:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user