mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-08 07:53:30 +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() {
|
||||
_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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue