summaryrefslogtreecommitdiffstats
path: root/examples/tessellation-modes/tessellatedquadmesh.h
diff options
context:
space:
mode:
authorPaul Lemire <paul.lemire@kdab.com>2014-09-19 08:37:03 +0200
committerSean Harmer <sean.harmer@kdab.com>2014-09-30 12:16:39 +0200
commit94bb50fba66435a078f30b1da9cf5507522ab136 (patch)
tree1c48f4e4463dd0f28fcd38efb259017987bbc8d6 /examples/tessellation-modes/tessellatedquadmesh.h
parent616e8083872c953a31acc871749e05c621c18bd1 (diff)
Improved/Refactored cloning and doClone off all subclasses
Note: As we are using QScene during cloning, it is important that node hierarchy be created and added in the proper order (parent then child). Change-Id: I8fd53f7ca696ec9aca19cc70dc116ccba4154911 Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Diffstat (limited to 'examples/tessellation-modes/tessellatedquadmesh.h')
-rw-r--r--examples/tessellation-modes/tessellatedquadmesh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tessellation-modes/tessellatedquadmesh.h b/examples/tessellation-modes/tessellatedquadmesh.h
index f2b04fd54..56221312d 100644
--- a/examples/tessellation-modes/tessellatedquadmesh.h
+++ b/examples/tessellation-modes/tessellatedquadmesh.h
@@ -53,7 +53,7 @@ public:
Qt3D::QAbstractMeshFunctorPtr meshFunctor() const Q_DECL_OVERRIDE;
protected:
- TessellatedQuadMesh *doClone(QNode *clonedParent) const Q_DECL_OVERRIDE;
+ TessellatedQuadMesh *doClone(bool isClone = true) const Q_DECL_OVERRIDE;
};
#endif // TESSELLATEDQUAD_H