summaryrefslogtreecommitdiffstats
path: root/src/render/frontend/qsceneloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/frontend/qsceneloader.cpp')
-rw-r--r--src/render/frontend/qsceneloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/frontend/qsceneloader.cpp b/src/render/frontend/qsceneloader.cpp
index 35443f77d..c378a1517 100644
--- a/src/render/frontend/qsceneloader.cpp
+++ b/src/render/frontend/qsceneloader.cpp
@@ -66,10 +66,10 @@ void QSceneLoader::sceneChangeEvent(const QSceneChangePtr &change)
QEntity *scene = e->value().value<QEntity *>();
// TO DO: We should send a QNodePtr so that it is release automatically
if (scene != Q_NULLPTR && d->m_scene != Q_NULLPTR) {
- QList<QNodeUuid> entities = d->m_scene->entitiesForComponent(d->m_uuid);
+ QList<QNodeId> entities = d->m_scene->entitiesForComponent(d->m_uuid);
if (entities.size() > 1) // TO DO: QComponent shareable property
qCWarning(Render::Frontend) << "It is strongly discouraged to share SceneLoader component between entities";
- Q_FOREACH (const QNodeUuid &id, entities) {
+ Q_FOREACH (const QNodeId &id, entities) {
QEntity *parentEntity = qobject_cast<QEntity *>(d->m_scene->lookupNode(id));
if (parentEntity != Q_NULLPTR) {
QEntity *cloneScene = qobject_cast<QEntity *>(QNodePrivate::get(scene)->clone());