aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerpartsource.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-09-06 18:24:57 -0500
committerJacek Antonelli2008-09-06 18:25:07 -0500
commit798d367d54a6c6379ad355bd8345fa40e31e7fe9 (patch)
tree1921f1708cd0240648c97bc02df2c2ab5f2fc41e /linden/indra/newview/llviewerpartsource.cpp
parentSecond Life viewer sources 1.20.15 (diff)
downloadmeta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.zip
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.gz
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.bz2
meta-impy-798d367d54a6c6379ad355bd8345fa40e31e7fe9.tar.xz
Second Life viewer sources 1.21.0-RC
Diffstat (limited to '')
-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;