mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 03:19:24 +02:00
remove unecessary parenting of Agent script engine
This commit is contained in:
parent
0e72197a37
commit
c90cdf52b4
1 changed files with 0 additions and 1 deletions
|
@ -343,7 +343,6 @@ void Agent::scriptRequestFinished() {
|
||||||
|
|
||||||
void Agent::executeScript() {
|
void Agent::executeScript() {
|
||||||
_scriptEngine = scriptEngineFactory(ScriptEngine::AGENT_SCRIPT, _scriptContents, _payload);
|
_scriptEngine = scriptEngineFactory(ScriptEngine::AGENT_SCRIPT, _scriptContents, _payload);
|
||||||
_scriptEngine->setParent(this); // be the parent of the script engine so it gets moved when we do
|
|
||||||
|
|
||||||
DependencyManager::get<RecordingScriptingInterface>()->setScriptEngine(_scriptEngine);
|
DependencyManager::get<RecordingScriptingInterface>()->setScriptEngine(_scriptEngine);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue