diff options
Diffstat (limited to 'src/render/renderstates/qclipplane.cpp')
-rw-r--r-- | src/render/renderstates/qclipplane.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/render/renderstates/qclipplane.cpp b/src/render/renderstates/qclipplane.cpp index 14b3e4aba..2deab3bf1 100644 --- a/src/render/renderstates/qclipplane.cpp +++ b/src/render/renderstates/qclipplane.cpp @@ -131,15 +131,6 @@ void QClipPlane::setDistance(float distance) } } -void QClipPlane::copy(const QNode *ref) -{ - QRenderState::copy(ref); - const QClipPlane *refClip = static_cast<const QClipPlane *>(ref); - d_func()->m_planeIndex = refClip->planeIndex(); - d_func()->m_normal = refClip->normal(); - d_func()->m_distance = refClip->distance(); -} - Qt3DCore::QNodeCreatedChangeBasePtr QClipPlane::createNodeCreationChange() const { auto creationChange = QRenderStateCreatedChangePtr<QClipPlaneData>::create(this); |