Removing debug code

This commit is contained in:
Niraj Venkat 2015-07-09 16:27:23 -07:00
parent adf5b95835
commit bd91daf712

View file

@ -16,7 +16,6 @@
#include <QEventLoop> #include <QEventLoop>
#include <QScriptSyntaxCheckResult> #include <QScriptSyntaxCheckResult>
#include <QDebug>
#include <AbstractScriptingServicesInterface.h> #include <AbstractScriptingServicesInterface.h>
#include <AbstractViewStateInterface.h> #include <AbstractViewStateInterface.h>
@ -1158,13 +1157,11 @@ void EntityTreeRenderer::entityCollisionWithEntity(const EntityItemID& idA, cons
void EntityTreeRenderer::updateEntityTree(bool shouldRenderEntities) { void EntityTreeRenderer::updateEntityTree(bool shouldRenderEntities) {
if (DependencyManager::get<SceneScriptingInterface>()->shouldRenderEntities()) { if (DependencyManager::get<SceneScriptingInterface>()->shouldRenderEntities()) {
qDebug() << "SHOULD RENDER ENTITIES NOW";
for (auto entityID : _entityIDsLastInScene) { for (auto entityID : _entityIDsLastInScene) {
addingEntity(entityID); addingEntity(entityID);
} }
_entityIDsLastInScene.clear(); _entityIDsLastInScene.clear();
} else { } else {
qDebug() << "SHOULD NOT RENDER ENTITIES";
_entityIDsLastInScene = _entitiesInScene.keys(); _entityIDsLastInScene = _entitiesInScene.keys();
for (auto entityID : _entityIDsLastInScene) { for (auto entityID : _entityIDsLastInScene) {
deletingEntity(entityID); deletingEntity(entityID);