From 577defa7b0664ca547ef6708a9e0b832670aec78 Mon Sep 17 00:00:00 2001 From: Mike Krus Date: Wed, 18 Sep 2019 20:00:05 +0100 Subject: Enable syncing on animation aspect Change-Id: I4333cb98d4339fa9dc02ebb27231aad748fdb3c2 Reviewed-by: Paul Lemire --- src/animation/backend/backendnode.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/animation/backend/backendnode.cpp') diff --git a/src/animation/backend/backendnode.cpp b/src/animation/backend/backendnode.cpp index 6ea7f89c7..f44836a67 100644 --- a/src/animation/backend/backendnode.cpp +++ b/src/animation/backend/backendnode.cpp @@ -38,6 +38,8 @@ ****************************************************************************/ #include "backendnode_p.h" +#include +#include QT_BEGIN_NAMESPACE @@ -65,6 +67,13 @@ void BackendNode::setDirty(Handler::DirtyFlag flag) m_handler->setDirty(flag, peerId()); } +void BackendNode::syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool firstTime) +{ + Q_UNUSED(firstTime) + + d_ptr->setEnabled(frontEnd->isEnabled()); +} + } // namespace Animation } // namespace Qt3DAnimation -- cgit v1.2.3