mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 11:13:09 +02:00
Fix entity add after incomplete rezCertified implementation
This commit is contained in:
parent
a1c52ea638
commit
0f66fb41fd
1 changed files with 2 additions and 5 deletions
|
@ -1149,10 +1149,7 @@ int EntityTree::processEditPacketData(ReceivedMessage& message, const unsigned c
|
||||||
failedAdd = true;
|
failedAdd = true;
|
||||||
qCDebug(entities) << "User without 'rez rights' [" << senderNode->getUUID()
|
qCDebug(entities) << "User without 'rez rights' [" << senderNode->getUUID()
|
||||||
<< "] attempted to add an entity ID:" << entityItemID;
|
<< "] attempted to add an entity ID:" << entityItemID;
|
||||||
// FIXME after Cert ID property integrated
|
|
||||||
} else if (/*!properties.getCertificateID().isNull() && */!senderNode->getCanRezCertified() && !senderNode->getCanRezTmpCertified()) {
|
|
||||||
qCDebug(entities) << "User without 'certified rez rights' [" << senderNode->getUUID()
|
|
||||||
<< "] attempted to add a certified entity with ID:" << entityItemID;
|
|
||||||
} else {
|
} else {
|
||||||
// this is a new entity... assign a new entityID
|
// this is a new entity... assign a new entityID
|
||||||
properties.setCreated(properties.getLastEdited());
|
properties.setCreated(properties.getLastEdited());
|
||||||
|
|
Loading…
Reference in a new issue