mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 17:53:32 +02:00
fix double initialization of AssetClient in Agent
This commit is contained in:
parent
ab7cbc0b76
commit
7f7d05fc42
1 changed files with 0 additions and 8 deletions
|
@ -52,14 +52,6 @@ Agent::Agent(NLPacket& packet) :
|
|||
DEFAULT_WINDOW_SECONDS_FOR_DESIRED_REDUCTION, false))
|
||||
{
|
||||
DependencyManager::get<EntityScriptingInterface>()->setPacketSender(&_entityEditSender);
|
||||
|
||||
auto assetClient = DependencyManager::set<AssetClient>();
|
||||
|
||||
QThread* assetThread = new QThread;
|
||||
assetThread->setObjectName("Asset Thread");
|
||||
assetClient->moveToThread(assetThread);
|
||||
connect(assetThread, &QThread::started, assetClient.data(), &AssetClient::init);
|
||||
assetThread->start();
|
||||
|
||||
auto assetClient = DependencyManager::set<AssetClient>();
|
||||
|
||||
|
|
Loading…
Reference in a new issue