From 03d62618692f93dfc1aa53e7e2245177432c2604 Mon Sep 17 00:00:00 2001 From: Sean Harmer Date: Sat, 30 Apr 2016 18:17:35 +0100 Subject: Remove QBackendNode::updateFromPeer() Implemented a few missing initializeFromPeer() implementations along with the corresponding frontend node creation change creation functions. Adapted unit tests. Change-Id: I571e53a7b68a5544bd0e308df0baf7e52533306e Reviewed-by: Paul Lemire --- src/render/backend/computecommand_p.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/render/backend/computecommand_p.h') diff --git a/src/render/backend/computecommand_p.h b/src/render/backend/computecommand_p.h index e407da0ae..c50354d37 100644 --- a/src/render/backend/computecommand_p.h +++ b/src/render/backend/computecommand_p.h @@ -68,8 +68,6 @@ public: ~ComputeCommand(); void cleanup(); - - void updateFromPeer(Qt3DCore::QNode *peer) Q_DECL_OVERRIDE; void sceneChangeEvent(const Qt3DCore::QSceneChangePtr &e) Q_DECL_OVERRIDE; inline int x() const Q_DECL_NOEXCEPT { return m_workGroups[0]; } @@ -77,6 +75,7 @@ public: inline int z() const Q_DECL_NOEXCEPT { return m_workGroups[2]; } private: + void initializeFromPeer(const Qt3DCore::QNodeCreatedChangeBasePtr &change) Q_DECL_OVERRIDE; int m_workGroups[3]; }; -- cgit v1.2.3