mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-06 08:23:13 +02:00
Tidying
This commit is contained in:
parent
55dcf6534c
commit
2030d24523
5 changed files with 5 additions and 5 deletions
|
@ -297,7 +297,7 @@ void AvatarMixerClientData::processSetTraitsMessage(ReceivedMessage& message,
|
|||
}
|
||||
}
|
||||
|
||||
void AvatarMixerClientData::emulateDeleteEntitiesTraitsMessage(QList<QUuid>& avatarEntityIDs) {
|
||||
void AvatarMixerClientData::emulateDeleteEntitiesTraitsMessage(const QList<QUuid>& avatarEntityIDs) {
|
||||
// Emulates processSetTraitsMessage() actions on behalf of an avatar whose canRezAvatarEntities permission has been removed.
|
||||
// The source avatar should be removing its avatar entities. However, this provides a back-up.
|
||||
|
||||
|
|
|
@ -132,7 +132,7 @@ public:
|
|||
int processPackets(const SlaveSharedData& slaveSharedData); // returns number of packets processed
|
||||
|
||||
void processSetTraitsMessage(ReceivedMessage& message, const SlaveSharedData& slaveSharedData, Node& sendingNode);
|
||||
void emulateDeleteEntitiesTraitsMessage(QList<QUuid>& avatarEntityIDs);
|
||||
void emulateDeleteEntitiesTraitsMessage(const QList<QUuid>& avatarEntityIDs);
|
||||
void processBulkAvatarTraitsAckMessage(ReceivedMessage& message);
|
||||
void checkSkeletonURLAgainstWhitelist(const SlaveSharedData& slaveSharedData, Node& sendingNode,
|
||||
AvatarTraits::TraitVersion traitVersion);
|
||||
|
|
|
@ -1588,7 +1588,7 @@ void MyAvatar::addAvatarEntitiesToTree() {
|
|||
}
|
||||
}
|
||||
|
||||
bool MyAvatar::hasAvatarEntities() {
|
||||
bool MyAvatar::hasAvatarEntities() const {
|
||||
return _cachedAvatarEntityBlobs.count() > 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -1454,7 +1454,7 @@ public:
|
|||
|
||||
void removeWornAvatarEntity(const EntityItemID& entityID);
|
||||
void clearWornAvatarEntities();
|
||||
bool hasAvatarEntities();
|
||||
bool hasAvatarEntities() const;
|
||||
|
||||
/**jsdoc
|
||||
* Checks whether your avatar is flying.
|
||||
|
|
|
@ -833,7 +833,7 @@ void NodeList::processDomainServerList(QSharedPointer<ReceivedMessage> message)
|
|||
// Don't continue login to the domain if have avatar entities and don't have permissions to rez them, unless user has OKed
|
||||
// continuing login.
|
||||
if (!newPermissions.can(NodePermissions::Permission::canRezAvatarEntities)
|
||||
&& (!adjustedPermissions || !_domainHandler.canConnectWithoutAvatarEntities())) {
|
||||
&& (!adjustedPermissions || !_domainHandler.canConnectWithoutAvatarEntities())) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue