aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--examples/declarative/particles/imageparticle/deformation.qml1
-rw-r--r--src/declarative/particles/qsgimageparticle.cpp3
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/particles/imageparticle/deformation.qml b/examples/declarative/particles/imageparticle/deformation.qml
index 3787b1e402..989a699395 100644
--- a/examples/declarative/particles/imageparticle/deformation.qml
+++ b/examples/declarative/particles/imageparticle/deformation.qml
@@ -60,7 +60,6 @@ Rectangle {
groups: ["goingDown"]
source: "../images/squarefacespriteXX.png"
yVector: PointDirection { y: 0.5; yVariation: 0.25; xVariation: 0.25; }
- rotation: 180
}
Timer {
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) {