summaryrefslogtreecommitdiff
path: root/indra/newview/llvoavatarself.cpp
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2009-11-03 15:49:55 -0500
committerNyx (Neal Orman) <nyx@lindenlab.com>2009-11-03 15:49:55 -0500
commit826f3aa57aa0679aeb895a7145f7b406a8a1ff4e (patch)
tree1df0a21442f14b076ed7ad2b446d6ac7f4885edd /indra/newview/llvoavatarself.cpp
parente87975284e2b50c81d95bbb9672678ae262288be (diff)
parent90d92647f417601814c3e7fffac357435f485c79 (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;