mirror of
https://github.com/overte-org/overte.git
synced 2025-08-07 18:10:37 +02: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 "AvatarAudioStream.h"
|
||||||
#include "InjectedAudioStream.h"
|
#include "InjectedAudioStream.h"
|
||||||
#include "crash-handler/CrashHandler.h"
|
#include "crash-handler/CrashHandler.h"
|
||||||
|
#include "../AssignmentDynamicFactory.h"
|
||||||
#include "../entities/AssignmentParentFinder.h"
|
#include "../entities/AssignmentParentFinder.h"
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
@ -64,6 +65,9 @@ AudioMixer::AudioMixer(ReceivedMessage& message) :
|
||||||
ThreadedAssignment(message)
|
ThreadedAssignment(message)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
DependencyManager::registerInheritance<EntityDynamicFactoryInterface, AssignmentDynamicFactory>();
|
||||||
|
DependencyManager::set<AssignmentDynamicFactory>();
|
||||||
|
|
||||||
// Always clear settings first
|
// Always clear settings first
|
||||||
// This prevents previous assignment settings from sticking around
|
// This prevents previous assignment settings from sticking around
|
||||||
clearDomainSettings();
|
clearDomainSettings();
|
||||||
|
|
Loading…
Reference in a new issue