diff options
Diffstat (limited to 'src/render/io/gltfparser.cpp')
-rw-r--r-- | src/render/io/gltfparser.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/render/io/gltfparser.cpp b/src/render/io/gltfparser.cpp index 345c1ba9e..0888041bd 100644 --- a/src/render/io/gltfparser.cpp +++ b/src/render/io/gltfparser.cpp @@ -228,7 +228,7 @@ public: QAbstractMeshFunctorPtr meshFunctor() const Q_DECL_OVERRIDE; private: - GLTFParserMesh *doClone() const Q_DECL_OVERRIDE; + QT3D_CLONEABLE(GLTFParserMesh) Q_DECLARE_PRIVATE(GLTFParserMesh) }; @@ -1033,13 +1033,6 @@ QAbstractMeshFunctorPtr GLTFParserMesh::meshFunctor() const return QAbstractMeshFunctorPtr(new GLTFParserMeshFunctor(d->m_meshData)); } -GLTFParserMesh *GLTFParserMesh::doClone() const -{ - GLTFParserMesh *clone = new GLTFParserMesh(); - clone->d_func()->copy(d_func()); - return clone; -} - GLTFParserMesh::GLTFParserMeshFunctor::GLTFParserMeshFunctor(QMeshDataPtr meshData) : QAbstractMeshFunctor() , m_meshData(meshData) |