Failure to do so will not repaint scene graphs which only
has changes from the animator.
Change-Id: Id420775d704df17379ca9b0eecd543fd3829fd00
Reviewed-by: Michael Brasser <michael.brasser@live.com>
QQuickShaderEffectMaterial *material =
static_cast<QQuickShaderEffectMaterial *>(m_node->material());
material->uniforms[m_uniformType][m_uniformIndex].value = m_value;
+ // As we're not touching the nodes, we need to explicitly mark it dirty.
+ // Otherwise, the renderer will abort repainting if this was the only
+ // change in the graph currently rendering.
+ m_node->markDirty(QSGNode::DirtyMaterial);
}
void QQuickUniformAnimatorJob::writeBack()