Improvements to the ScriptLog logging (#3389)

* Restructuring the queueScript function
* Don't log the contents of actions that are triggered.  Add the ability to do verbose logging in the scriptlog
This commit is contained in:
Alexander Bock
2024-09-09 21:16:57 +02:00
committed by GitHub
parent ddbf155e8b
commit fd64fe7c96
43 changed files with 365 additions and 571 deletions
@@ -187,11 +187,11 @@ RenderableInterpolatedPoints::Interpolation::Interpolation()
);
// No syncing, as this was triggered from a property change (which happened
// based on an already synced script)
global::scriptEngine->queueScript(
script,
scripting::ScriptEngine::ShouldBeSynchronized::No,
scripting::ScriptEngine::ShouldSendToRemote::No
);
global::scriptEngine->queueScript({
.code = script,
.synchronized = scripting::ScriptEngine::Script::ShouldBeSynchronized::No,
.sendToRemote = scripting::ScriptEngine::Script::ShouldSendToRemote::No
});
};
interpolateToEnd.onChange([triggerInterpolation, this]() {