mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:14:59 +02:00
Removing debug code
This commit is contained in:
parent
adf5b95835
commit
bd91daf712
1 changed files with 0 additions and 3 deletions
|
@ -16,7 +16,6 @@
|
|||
|
||||
#include <QEventLoop>
|
||||
#include <QScriptSyntaxCheckResult>
|
||||
#include <QDebug>
|
||||
|
||||
#include <AbstractScriptingServicesInterface.h>
|
||||
#include <AbstractViewStateInterface.h>
|
||||
|
@ -1158,13 +1157,11 @@ void EntityTreeRenderer::entityCollisionWithEntity(const EntityItemID& idA, cons
|
|||
|
||||
void EntityTreeRenderer::updateEntityTree(bool shouldRenderEntities) {
|
||||
if (DependencyManager::get<SceneScriptingInterface>()->shouldRenderEntities()) {
|
||||
qDebug() << "SHOULD RENDER ENTITIES NOW";
|
||||
for (auto entityID : _entityIDsLastInScene) {
|
||||
addingEntity(entityID);
|
||||
}
|
||||
_entityIDsLastInScene.clear();
|
||||
} else {
|
||||
qDebug() << "SHOULD NOT RENDER ENTITIES";
|
||||
_entityIDsLastInScene = _entitiesInScene.keys();
|
||||
for (auto entityID : _entityIDsLastInScene) {
|
||||
deletingEntity(entityID);
|
||||
|
|
Loading…
Reference in a new issue