mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
set dynamic factory
This commit is contained in:
parent
af09c0a486
commit
8ea3f1956e
1 changed files with 4 additions and 0 deletions
|
@ -40,6 +40,7 @@
|
|||
#include "AvatarAudioStream.h"
|
||||
#include "InjectedAudioStream.h"
|
||||
#include "crash-handler/CrashHandler.h"
|
||||
#include "../AssignmentDynamicFactory.h"
|
||||
#include "../entities/AssignmentParentFinder.h"
|
||||
|
||||
using namespace std;
|
||||
|
@ -64,6 +65,9 @@ AudioMixer::AudioMixer(ReceivedMessage& message) :
|
|||
ThreadedAssignment(message)
|
||||
{
|
||||
|
||||
DependencyManager::registerInheritance<EntityDynamicFactoryInterface, AssignmentDynamicFactory>();
|
||||
DependencyManager::set<AssignmentDynamicFactory>();
|
||||
|
||||
// Always clear settings first
|
||||
// This prevents previous assignment settings from sticking around
|
||||
clearDomainSettings();
|
||||
|
|
Loading…
Reference in a new issue