summaryrefslogtreecommitdiffstats
path: root/src/render/io/gltfparser.cpp
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2014-07-04 11:17:58 +0200
committerPaul Lemire <paul.lemire@kdab.com>2014-07-06 10:24:16 +0200
commite5ac7d048c4f095a16311bcf348894543c747b2d (patch)
treed93bac925eebd780221053b0ee0881676176878f /src/render/io/gltfparser.cpp
parent97717d5ae0bbf3c9e959ca4a00b38df4a59f977a (diff)
Prefixed Q to transforms
QAbstractTransform also has a d-pointer. Change-Id: I577dc48d21545f4f5cd1320529951612cbef0739 Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/render/io/gltfparser.cpp')
-rw-r--r--src/render/io/gltfparser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/io/gltfparser.cpp b/src/render/io/gltfparser.cpp
index 2dabddda9..e0777efc7 100644
--- a/src/render/io/gltfparser.cpp
+++ b/src/render/io/gltfparser.cpp
@@ -52,7 +52,7 @@
#include <qeffect.h>
#include <Qt3DCore/camera.h>
#include <Qt3DCore/qtransform.h>
-#include <Qt3DCore/matrixtransform.h>
+#include <Qt3DCore/qmatrixtransform.h>
#include <Qt3DCore/cameralens.h>
#include <texture.h>
#include <parameter.h>
@@ -389,7 +389,7 @@ QEntity* GLTFParser::node(QString id)
// ADD MATRIX TRANSFORM COMPONENT TO ENTITY
QTransform *trans = new QTransform();
- trans->appendTransform(new MatrixTransform(m));
+ trans->appendTransform(new QMatrixTransform(m));
result->addComponent(trans);
}