aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-09-22 13:48:19 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-22 07:22:11 +0200
commit852983a6d9dc5d57753d6eadf779d6607497ac64 (patch)
tree73b0d192c4970550af0141734c2aa8a02a241f61 /src
parentcc3f830c030e271f258bb330e5bc1fc400196389 (diff)
Recognize deformable performance level properly
Task-number: QTBUG-21305 Change-Id: I88cfe56f0f22abc92a083b2a0a8da059ebefc652 Reviewed-on: http://codereview.qt-project.org/5344 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'src')
-rw-r--r--src/declarative/particles/qsgimageparticle.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/declarative/particles/qsgimageparticle.cpp b/src/declarative/particles/qsgimageparticle.cpp
index d21f5f03c4..dd50ce2e83 100644
--- a/src/declarative/particles/qsgimageparticle.cpp
+++ b/src/declarative/particles/qsgimageparticle.cpp
@@ -1056,7 +1056,8 @@ QSGGeometryNode* QSGImageParticle::buildParticleNodes()
|| !m_opacitytable_name.isEmpty()) {
perfLevel = Tabled;
} else if (m_autoRotation || m_rotation || m_rotationVariation
- || m_rotationSpeed || m_rotationSpeedVariation) {
+ || m_rotationSpeed || m_rotationSpeedVariation
+ || m_xVector || m_yVector) {
perfLevel = Deformable;
} else if (m_alphaVariation || m_alpha != 1.0 || m_color.isValid() || m_color_variation
|| m_redVariation || m_blueVariation || m_greenVariation) {