From 8b38efd412c8b340a4c078b5f2012c0da26f17ac Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Mon, 29 Aug 2011 18:49:24 +1000 Subject: setting only colorVariation now works Wasn't realizing it needed colored shaders for it. Change-Id: I9d5693d8f8f470d3239339d4457c576f5b40fe3f Reviewed-on: http://codereview.qt.nokia.com/3723 Reviewed-by: Qt Sanity Bot Reviewed-by: Martin Jones --- src/declarative/particles/qsgimageparticle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/declarative/particles/qsgimageparticle.cpp b/src/declarative/particles/qsgimageparticle.cpp index a12d1c223e..f3bf2f011e 100644 --- a/src/declarative/particles/qsgimageparticle.cpp +++ b/src/declarative/particles/qsgimageparticle.cpp @@ -864,7 +864,7 @@ QSGGeometryNode* QSGImageParticle::buildParticleNodes() } else if (m_autoRotation || m_rotation || m_rotationVariation || m_rotationSpeed || m_rotationSpeedVariation) { perfLevel = Deformable; - } else if (m_alphaVariation || m_alpha != 1.0 || m_color.isValid() + } else if (m_alphaVariation || m_alpha != 1.0 || m_color.isValid() || m_color_variation || m_redVariation || m_blueVariation || m_greenVariation) { perfLevel = Colored; } else { -- cgit v1.2.3