diff options
Diffstat (limited to 'src/declarative/particles/qsgturbulence.cpp')
-rw-r--r-- | src/declarative/particles/qsgturbulence.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/particles/qsgturbulence.cpp b/src/declarative/particles/qsgturbulence.cpp index c846f151b4..e9812d7825 100644 --- a/src/declarative/particles/qsgturbulence.cpp +++ b/src/declarative/particles/qsgturbulence.cpp @@ -173,8 +173,8 @@ void QSGTurbulenceAffector::affectSystem(qreal dt) fy += m_field[p.first][p.second].y() * ((m_magSum - dist)/m_magSum); } if (fx || fy){ - d->setInstantaneousSX(d->curSX()+ fx * dt); - d->setInstantaneousSY(d->curSY()+ fy * dt); + d->setInstantaneousVX(d->curVX()+ fx * dt); + d->setInstantaneousVY(d->curVY()+ fy * dt); m_system->m_needsReset << d; } } |