summaryrefslogtreecommitdiffstats
path: root/src/render/io/gltfparser.cpp
diff options
context:
space:
mode:
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 901afc02e..2dabddda9 100644
--- a/src/render/io/gltfparser.cpp
+++ b/src/render/io/gltfparser.cpp
@@ -51,7 +51,7 @@
#include <shaderprogram.h>
#include <qeffect.h>
#include <Qt3DCore/camera.h>
-#include <Qt3DCore/transform.h>
+#include <Qt3DCore/qtransform.h>
#include <Qt3DCore/matrixtransform.h>
#include <Qt3DCore/cameralens.h>
#include <texture.h>
@@ -388,7 +388,7 @@ QEntity* GLTFParser::node(QString id)
}
// ADD MATRIX TRANSFORM COMPONENT TO ENTITY
- Transform *trans = new Transform();
+ QTransform *trans = new QTransform();
trans->appendTransform(new MatrixTransform(m));
result->addComponent(trans);
}