Fix backend property updates

Change-Id: I8f8967185d3db8220808135a7e81bdae411186fc
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
This commit is contained in:
Mike Krus 2019-10-01 22:59:52 +01:00
parent 2dabe5fc1e
commit 537c1545e7
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ void AnimationClip::syncFromFrontEnd(const Qt3DCore::QNode *frontEnd, bool first
Q_ASSERT(m_dataType == File);
if (m_source != loaderNode->source()) {
m_source = loaderNode->source();
if (m_clipData.isValid())
if (!m_source.isEmpty())
setDirty(Handler::AnimationClipDirty);
}
}