mirror of
https://github.com/overte-org/overte.git
synced 2025-08-06 19:59:28 +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 <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);
|
||||||
|
|
Loading…
Reference in a new issue