Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 18 files). Show all
Unified · Split
| @@ -57,11 +57,6 @@ EntityItemID EntityScriptingInterface::identifyEntity(EntityItemID entityID) { · 56 unmodified lines | ||
| 57 | 57 | // found it! |
| 58 | 58 | entityID.id = actualID.id; |
| 59 | 59 | entityID.isKnownID = true; |
| 60 | − bool wantDebug = false; | |
| 61 | − if (wantDebug) { | |
| 62 | − qDebug() << "EntityScriptingInterface::identifyEntity() ...found it... isKnownID=" << entityID.isKnownID | |
| 63 | − << "id=" << entityID.id << "creatorTokenID=" << entityID.creatorTokenID; | |
| 64 | − } | |
| 65 | 60 | } |
| 66 | 61 | return entityID; |
| 67 | 62 | } |
| @@ -137,15 +132,6 @@ void EntityScriptingInterface::deleteEntity(EntityItemID entityID) { · 69 unmodified lines | ||
| 137 | 132 | if (actualID.id != UNKNOWN_ENTITY_ID) { |
| 138 | 133 | entityID.id = actualID.id; |
| 139 | 134 | entityID.isKnownID = true; |
| 140 | − | |
| 141 | − bool wantDebug = false; | |
| 142 | − if (wantDebug) { | |
| 143 | − qDebug() << "EntityScriptingInterface::deleteEntity()... " | |
| 144 | − << "isKnownID=" << entityID.isKnownID | |
| 145 | − << "id=" << entityID.id | |
| 146 | − << "creatorTokenID=" << entityID.creatorTokenID; | |
| 147 | − } | |
| 148 | − | |
| 149 | 135 | getEntityPacketSender()->queueEraseEntityMessage(entityID); |
| 150 | 136 | } |
| 151 | 137 | |
| @@ -167,11 +153,6 @@ EntityItemID EntityScriptingInterface::findClosestEntity(const glm::vec3& center · 15 unmodified lines | ||
| 167 | 153 | if (closestEntity) { |
| 168 | 154 | result.id = closestEntity->getID(); |
| 169 | 155 | result.isKnownID = true; |
| 170 | − bool wantDebug = false; | |
| 171 | − if (wantDebug) { | |
| 172 | − qDebug() << "EntityScriptingInterface::findClosestEntity()... isKnownID=" << result.isKnownID | |
| 173 | − << "id=" << result.id << "creatorTokenID=" << result.creatorTokenID; | |
| 174 | − } | |
| 175 | 156 | } |
| 176 | 157 | } |
| 177 | 158 | return result; |