They will be caught when the nodes are rebuilt, if they're still valid.
Change-Id: Iac6e790b604a7deaba98a50dd07754459e9f5e14
Reviewed-by: Martin Jones <martin.jones@nokia.com>
{
if (m_rootNode == 0){//TODO: Staggered loading (as emitted)
m_rootNode = buildParticleNodes();
- if (m_rootNode == 0)
- return;
if (m_debugMode) {
qDebug() << "QQuickImageParticle Feature level: " << perfLevel;
qDebug() << "QQuickImageParticle Nodes: ";
}
qDebug() << "Total count: " << count;
}
+ if (m_rootNode == 0)
+ return;
}
qint64 timeStamp = m_system->systemSync(this);
void QQuickParticlePainter::reset()
{
+ m_pendingCommits.clear();
+ m_pleaseReset = true;
}
void QQuickParticlePainter::setCount(int c)//### TODO: some resizeing so that particles can reallocate on size change instead of recreate
{
if (m_groups != arg) {
m_groups = arg;
+ //Note: The system watches this as it has to recalc things when groups change. It will request a reset if necessary
emit groupsChanged(arg);
}
}