aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/particles/qsgcustomparticle.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-09-13 12:23:27 +0200
committerGunnar Sletta <gunnar.sletta@nokia.com>2011-09-13 12:29:19 +0200
commite47ade5e86c96eef95f43bb181ace17524acb19c (patch)
tree0ab99639f4d80087cd6c0f50a7acb10fb089807d /src/declarative/particles/qsgcustomparticle.cpp
parentce5ac7d67b59deb7c0e261e9ee21a475e6cb2e41 (diff)
fix declarative to work after broken refactor
Diffstat (limited to 'src/declarative/particles/qsgcustomparticle.cpp')
-rw-r--r--src/declarative/particles/qsgcustomparticle.cpp8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/declarative/particles/qsgcustomparticle.cpp b/src/declarative/particles/qsgcustomparticle.cpp
index e0bbf28862..174942d7ff 100644
--- a/src/declarative/particles/qsgcustomparticle.cpp
+++ b/src/declarative/particles/qsgcustomparticle.cpp
@@ -477,14 +477,8 @@ QSGShaderEffectNode* QSGCustomParticle::buildCustomNodes()
}
s.vertexCode = qt_particles_template_vertex_code + s.vertexCode;
-<<<<<<< HEAD
- m_material.setProgramSource(s);
- foreach (const QString &str, m_groups){
-=======
m_material->setProgramSource(s);
-
- foreach (const QString &str, m_particles){
->>>>>>> refactor
+ foreach (const QString &str, m_groups){
int gIdx = m_system->m_groupIds[str];
int count = m_system->m_groupData[gIdx]->size();
//Create Particle Geometry