summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2009-11-04 09:54:07 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2009-11-04 09:54:07 -0500
commit8066f4868584ebbef6512006ffc07b158f382799 (patch)
tree04b77c72f11d6b5cfea775880eb2af0f610f2408 /indra/newview/llvoavatarself.cpp
parentc10a40e54ea32825f46f91525814c19f1cb818e6 (diff)
parent826f3aa57aa0679aeb895a7145f7b406a8a1ff4e (diff)
Automated merge with ssh://hg.lindenlab.com/viewer/viewer-2-0/
Diffstat (limited to 'indra/newview/llvoavatarself.cpp')
-rw-r--r--indra/newview/llvoavatarself.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp
index a964f43171..75ca37f661 100644
--- a/indra/newview/llvoavatarself.cpp
+++ b/indra/newview/llvoavatarself.cpp
@@ -205,7 +205,10 @@ void LLVOAvatarSelf::markDead()
param;
param = (LLViewerVisualParam*) getNextVisualParam())
{
- param->setIsDummy(TRUE);
+ if (param->getWearableType() != WT_INVALID)
+ {
+ param->setIsDummy(TRUE);
+ }
}
return success;