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
57 // found it!57 // found it!
58 entityID.id = actualID.id;58 entityID.id = actualID.id;
59 entityID.isKnownID = true;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 return entityID;61 return entityID;
67}62}
@@ -137,15 +132,6 @@ void EntityScriptingInterface::deleteEntity(EntityItemID entityID) { · 69 unmodified lines
137 if (actualID.id != UNKNOWN_ENTITY_ID) {132 if (actualID.id != UNKNOWN_ENTITY_ID) {
138 entityID.id = actualID.id;133 entityID.id = actualID.id;
139 entityID.isKnownID = true;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 getEntityPacketSender()->queueEraseEntityMessage(entityID);135 getEntityPacketSender()->queueEraseEntityMessage(entityID);
150 }136 }
151 137
@@ -167,11 +153,6 @@ EntityItemID EntityScriptingInterface::findClosestEntity(const glm::vec3& center · 15 unmodified lines
167 if (closestEntity) {153 if (closestEntity) {
168 result.id = closestEntity->getID();154 result.id = closestEntity->getID();
169 result.isKnownID = true;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 return result;158 return result;