mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 04:28:59 +02:00
Fix up node permissions debug order
This commit is contained in:
parent
94228d0977
commit
41bd3c10c0
1 changed files with 4 additions and 3 deletions
|
@ -144,6 +144,9 @@ QDebug operator<<(QDebug debug, const NodePermissions& perms) {
|
|||
if (perms.can(NodePermissions::Permission::canConnectToDomain)) {
|
||||
debug << " connect";
|
||||
}
|
||||
if (perms.can(NodePermissions::Permission::canRezAvatarEntities)) {
|
||||
debug << " rez-avatar-entities";
|
||||
}
|
||||
if (perms.can(NodePermissions::Permission::canAdjustLocks)) {
|
||||
debug << " locks";
|
||||
}
|
||||
|
@ -174,12 +177,10 @@ QDebug operator<<(QDebug debug, const NodePermissions& perms) {
|
|||
if (perms.can(NodePermissions::Permission::canGetAndSetPrivateUserData)) {
|
||||
debug << " get-and-set-private-user-data";
|
||||
}
|
||||
if (perms.can(NodePermissions::Permission::canRezAvatarEntities)) {
|
||||
debug << " rez-avatar-entities";
|
||||
}
|
||||
debug.nospace() << "]";
|
||||
return debug.nospace();
|
||||
}
|
||||
|
||||
QDebug operator<<(QDebug debug, const NodePermissionsPointer& perms) {
|
||||
if (perms) {
|
||||
return operator<<(debug, *perms.get());
|
||||
|
|
Loading…
Reference in a new issue