aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-10-20 18:03:37 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-03 06:27:47 +0100
commit728a32d0e231cee3842e32511a3de6909f5d3181 (patch)
treeb3f9a26dbad2ec717776bd65b77604a25822d13a /examples
parenta06ec0c299a267149d9440ddb935272b0165e464 (diff)
Fix Gravity
Now simulates acceleration instead of setting it, and properties are renamed to be consistent with AngleDirection Change-Id: I648aa9122c49b46aa7b7d7796bc25d5bd56bfffe Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/declarative/particles/affectors/gravity.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/declarative/particles/affectors/gravity.qml b/examples/declarative/particles/affectors/gravity.qml
index dc55324f3a..7509b119b0 100644
--- a/examples/declarative/particles/affectors/gravity.qml
+++ b/examples/declarative/particles/affectors/gravity.qml
@@ -84,7 +84,7 @@ Item {
ParticleSystem { id: sys }
Gravity {
system: sys
- acceleration: 32
+ magnitude: 32
angle: ground.rotation + 90
}
Emitter {