projects
/
konrad/qtdeclarative.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
c07ea77
)
Make turbulence respect offset
author
Alan Alpert
<alan.alpert@nokia.com>
Tue, 20 Sep 2011 07:52:45 +0000 (17:52 +1000)
committer
Qt by Nokia
<qt-info@nokia.com>
Wed, 21 Sep 2011 05:11:25 +0000 (07:11 +0200)
Change-Id: Ife84b900cd9c99aff4f4cb5f860a0853c08a40a3
Reviewed-on: http://codereview.qt-project.org/5206
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
src/declarative/particles/qsgturbulence.cpp
patch
|
blob
|
history
diff --git
a/src/declarative/particles/qsgturbulence.cpp
b/src/declarative/particles/qsgturbulence.cpp
index
7792c61
..
aa5dfeb
100644
(file)
--- a/
src/declarative/particles/qsgturbulence.cpp
+++ b/
src/declarative/particles/qsgturbulence.cpp
@@
-177,6
+177,7
@@
void QSGTurbulenceAffector::affectSystem(qreal dt)
if (!m_system || !m_enabled)
return;
ensureInit();
+ updateOffsets();//### Needed if an ancestor is transformed.
QRectF boundsRect(0, 0, width()-1, height()-1);
foreach (QSGParticleGroupData *gd, m_system->m_groupData){