aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerobject.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:57 -0500
committerJacek Antonelli2008-08-15 23:44:57 -0500
commitda68d3a57ecb27eba5d7efb8ff77d9640c0be65e (patch)
treef2fa2b9ed6e8cf49c8a3cb2a1893c4e5c61916a1 /linden/indra/newview/llviewerobject.cpp
parentSecond Life viewer sources 1.15.1.3 (diff)
downloadmeta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.zip
meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.gz
meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.bz2
meta-impy-da68d3a57ecb27eba5d7efb8ff77d9640c0be65e.tar.xz
Second Life viewer sources 1.16.0.5
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewerobject.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/linden/indra/newview/llviewerobject.cpp b/linden/indra/newview/llviewerobject.cpp
index 58d57b5..88ac978 100644
--- a/linden/indra/newview/llviewerobject.cpp
+++ b/linden/indra/newview/llviewerobject.cpp
@@ -1328,9 +1328,8 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
1328 1328
1329 U32 value; 1329 U32 value;
1330 dp->unpackU32(value, "SpecialCode"); 1330 dp->unpackU32(value, "SpecialCode");
1331
1332 dp->setPassFlags(value); 1331 dp->setPassFlags(value);
1333 1332 dp->unpackUUID(owner_id, "Owner");
1334 1333
1335 if (value & 0x80) 1334 if (value & 0x80)
1336 { 1335 {
@@ -1469,7 +1468,6 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,
1469 if (value & 0x10) 1468 if (value & 0x10)
1470 { 1469 {
1471 dp->unpackUUID(sound_uuid, "SoundUUID"); 1470 dp->unpackUUID(sound_uuid, "SoundUUID");
1472 dp->unpackUUID(owner_id, "OwnerID");
1473 dp->unpackF32(gain, "SoundGain"); 1471 dp->unpackF32(gain, "SoundGain");
1474 dp->unpackU8(sound_flags, "SoundFlags"); 1472 dp->unpackU8(sound_flags, "SoundFlags");
1475 dp->unpackF32(cutoff, "SoundRadius"); 1473 dp->unpackF32(cutoff, "SoundRadius");
@@ -4016,9 +4014,9 @@ void LLViewerObject::unpackParticleSource(const S32 block_num, const LLUUID& own
4016 } 4014 }
4017 else 4015 else
4018 { 4016 {
4017 LLViewerPartSourceScript *pss = LLViewerPartSourceScript::unpackPSS(this, NULL, block_num);
4019 //If the owner is muted, don't create the system 4018 //If the owner is muted, don't create the system
4020 if(gMuteListp->isMuted(owner_id)) return; 4019 if(gMuteListp->isMuted(owner_id)) return;
4021 LLViewerPartSourceScript *pss = LLViewerPartSourceScript::unpackPSS(this, NULL, block_num);
4022 4020
4023 // We need to be able to deal with a particle source that hasn't changed, but still got an update! 4021 // We need to be able to deal with a particle source that hasn't changed, but still got an update!
4024 if (pss) 4022 if (pss)
@@ -4065,10 +4063,9 @@ void LLViewerObject::unpackParticleSource(LLDataPacker &dp, const LLUUID& owner_
4065 } 4063 }
4066 else 4064 else
4067 { 4065 {
4066 LLViewerPartSourceScript *pss = LLViewerPartSourceScript::unpackPSS(this, NULL, dp);
4068 //If the owner is muted, don't create the system 4067 //If the owner is muted, don't create the system
4069 if(gMuteListp->isMuted(owner_id)) return; 4068 if(gMuteListp->isMuted(owner_id)) return;
4070 LLViewerPartSourceScript *pss = LLViewerPartSourceScript::unpackPSS(this, NULL, dp);
4071
4072 // We need to be able to deal with a particle source that hasn't changed, but still got an update! 4069 // We need to be able to deal with a particle source that hasn't changed, but still got an update!
4073 if (pss) 4070 if (pss)
4074 { 4071 {
@@ -4260,6 +4257,12 @@ LLViewerObject::ExtraParameter* LLViewerObject::createNewParameterEntry(U16 para
4260 new_block = new LLLightParams(); 4257 new_block = new LLLightParams();
4261 break; 4258 break;
4262 } 4259 }
4260 case LLNetworkData::PARAMS_SCULPT:
4261 {
4262 new_block = new LLSculptParams();
4263 break;
4264 }
4265
4263 default: 4266 default:
4264 { 4267 {
4265 llinfos << "Unknown param type." << llendl; 4268 llinfos << "Unknown param type." << llendl;