summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llvopartgroup.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/indra/newview/llvopartgroup.cpp b/indra/newview/llvopartgroup.cpp
index 42b35ff7a7..49356467a0 100644
--- a/indra/newview/llvopartgroup.cpp
+++ b/indra/newview/llvopartgroup.cpp
@@ -619,12 +619,13 @@ void LLParticlePartition::getGeometry(LLSpatialGroup* group)
S32 geom_idx = (S32) facep->getGeomIndex();
- object->getGeometry(facep->getTEOffset(),
- verticesp+geom_idx,
- normalsp+geom_idx,
- texcoordsp+geom_idx,
- colorsp+geom_idx,
- indicesp+facep->getIndicesStart());
+ verticesp += geom_idx;
+ normalsp += geom_idx;
+ texcoordsp += geom_idx;
+ colorsp += geom_idx;
+ indicesp += facep->getIndicesStart();
+
+ object->getGeometry(facep->getTEOffset(), verticesp, normalsp, texcoordsp, colorsp, indicesp);
llassert(facep->getGeomCount() == 4);
llassert(facep->getIndicesCount() == 6);