History

removed a ton of old dead debug code

ZappoMan committed 12 years ago

Commit 2b5d6311 parent 0f2a14a18 files · +26 −1675Browse files

Showing the changes to libraries/entities/src/EntityScriptingInterface.cpp (1 of 18 files). Show all

Unified · Split

libraries/entities/src/EntityScriptingInterface.cpp+0−19
@@ -57,11 +57,6 @@ EntityItemID EntityScriptingInterface::identifyEntity(EntityItemID entityID) { · 56 unmodified lines
5757 // found it!
5858 entityID.id = actualID.id;
5959 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− }
6560 }
6661 return entityID;
6762 }
@@ -137,15 +132,6 @@ void EntityScriptingInterface::deleteEntity(EntityItemID entityID) { · 69 unmodified lines
137132 if (actualID.id != UNKNOWN_ENTITY_ID) {
138133 entityID.id = actualID.id;
139134 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−
149135 getEntityPacketSender()->queueEraseEntityMessage(entityID);
150136 }
151137
@@ -167,11 +153,6 @@ EntityItemID EntityScriptingInterface::findClosestEntity(const glm::vec3& center · 15 unmodified lines
167153 if (closestEntity) {
168154 result.id = closestEntity->getID();
169155 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− }
175156 }
176157 }
177158 return result;