From 0f66fb41fd3ff2b58c4fcdef8f5145830559e3bf Mon Sep 17 00:00:00 2001 From: Zach Fox Date: Thu, 28 Sep 2017 16:07:15 -0700 Subject: [PATCH] Fix entity add after incomplete rezCertified implementation --- libraries/entities/src/EntityTree.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/libraries/entities/src/EntityTree.cpp b/libraries/entities/src/EntityTree.cpp index 5c5aee97ff..c8675bdcba 100644 --- a/libraries/entities/src/EntityTree.cpp +++ b/libraries/entities/src/EntityTree.cpp @@ -1148,11 +1148,8 @@ int EntityTree::processEditPacketData(ReceivedMessage& message, const unsigned c } else if (!senderNode->getCanRez() && !senderNode->getCanRezTmp()) { failedAdd = true; qCDebug(entities) << "User without 'rez rights' [" << senderNode->getUUID() - << "] 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; + << "] attempted to add an entity ID:" << entityItemID; + } else { // this is a new entity... assign a new entityID properties.setCreated(properties.getLastEdited());