mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 20:56:25 +02:00
make the asset server a solo node type
This commit is contained in:
parent
7fd25ae450
commit
055df48e8d
2 changed files with 2 additions and 3 deletions
|
@ -41,7 +41,8 @@ static Setting::Handle<quint16> LIMITED_NODELIST_LOCAL_PORT("LimitedNodeList.Loc
|
||||||
|
|
||||||
const std::set<NodeType_t> SOLO_NODE_TYPES = {
|
const std::set<NodeType_t> SOLO_NODE_TYPES = {
|
||||||
NodeType::AvatarMixer,
|
NodeType::AvatarMixer,
|
||||||
NodeType::AudioMixer
|
NodeType::AudioMixer,
|
||||||
|
NodeType::AssetServer
|
||||||
};
|
};
|
||||||
|
|
||||||
LimitedNodeList::LimitedNodeList(int socketListenPort, int dtlsListenPort) :
|
LimitedNodeList::LimitedNodeList(int socketListenPort, int dtlsListenPort) :
|
||||||
|
|
|
@ -65,8 +65,6 @@ void GetMappingRequest::doStart() {
|
||||||
|
|
||||||
auto assetClient = DependencyManager::get<AssetClient>();
|
auto assetClient = DependencyManager::get<AssetClient>();
|
||||||
|
|
||||||
qDebug() << "Asking asset client to get mapping for" << _path;
|
|
||||||
|
|
||||||
_mappingRequestID = assetClient->getAssetMapping(_path,
|
_mappingRequestID = assetClient->getAssetMapping(_path,
|
||||||
[this, assetClient](bool responseReceived, AssetServerError error, QSharedPointer<ReceivedMessage> message) {
|
[this, assetClient](bool responseReceived, AssetServerError error, QSharedPointer<ReceivedMessage> message) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue