aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerpartsource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llviewerpartsource.cpp')
-rw-r--r--linden/indra/newview/llviewerpartsource.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/linden/indra/newview/llviewerpartsource.cpp b/linden/indra/newview/llviewerpartsource.cpp
index 6c0596a..dcef8c2 100644
--- a/linden/indra/newview/llviewerpartsource.cpp
+++ b/linden/indra/newview/llviewerpartsource.cpp
@@ -278,7 +278,7 @@ void LLViewerPartSourceScript::update(const F32 dt)
278 continue; 278 continue;
279 } 279 }
280 280
281 LLPointer<LLViewerPart> part = new LLViewerPart(); 281 LLViewerPart* part = new LLViewerPart();
282 282
283 part->init(this, mImagep, NULL); 283 part->init(this, mImagep, NULL);
284 part->mFlags = mPartSysData.mPartData.mFlags; 284 part->mFlags = mPartSysData.mPartData.mFlags;
@@ -569,7 +569,7 @@ void LLViewerPartSourceSpiral::update(const F32 dt)
569 { 569 {
570 mPosAgent = mSourceObjectp->getRenderPosition(); 570 mPosAgent = mSourceObjectp->getRenderPosition();
571 } 571 }
572 LLPointer<LLViewerPart> part = new LLViewerPart(); 572 LLViewerPart* part = new LLViewerPart();
573 part->init(this, mImagep, updatePart); 573 part->init(this, mImagep, updatePart);
574 part->mStartColor = mColor; 574 part->mStartColor = mColor;
575 part->mEndColor = mColor; 575 part->mEndColor = mColor;
@@ -717,7 +717,7 @@ void LLViewerPartSourceBeam::update(const F32 dt)
717 mImagep = gImageList.getImageFromFile("pixiesmall.j2c"); 717 mImagep = gImageList.getImageFromFile("pixiesmall.j2c");
718 } 718 }
719 719
720 LLPointer<LLViewerPart> part = new LLViewerPart(); 720 LLViewerPart* part = new LLViewerPart();
721 part->init(this, mImagep, NULL); 721 part->init(this, mImagep, NULL);
722 722
723 part->mFlags = LLPartData::LL_PART_INTERP_COLOR_MASK | 723 part->mFlags = LLPartData::LL_PART_INTERP_COLOR_MASK |
@@ -834,7 +834,7 @@ void LLViewerPartSourceChat::update(const F32 dt)
834 { 834 {
835 mPosAgent = mSourceObjectp->getRenderPosition(); 835 mPosAgent = mSourceObjectp->getRenderPosition();
836 } 836 }
837 LLPointer<LLViewerPart> part = new LLViewerPart(); 837 LLViewerPart* part = new LLViewerPart();
838 part->init(this, mImagep, updatePart); 838 part->init(this, mImagep, updatePart);
839 part->mStartColor = mColor; 839 part->mStartColor = mColor;
840 part->mEndColor = mColor; 840 part->mEndColor = mColor;