diff options
author | McCabe Maxsted | 2010-08-02 00:44:57 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-08-02 00:44:57 -0700 |
commit | 489ac5bdda11551401fae1ec63d4c7612ca3bbb1 (patch) | |
tree | 8bacb54d32eb9713b3788d9d8dd5188bd6bdc297 /linden/indra/newview/llhudeffectpointat.cpp | |
parent | Removed unused ZHAO entries from the AO template and added it to cmake (diff) | |
parent | Added loading kdu debugging info to the log (diff) | |
download | meta-impy-489ac5bdda11551401fae1ec63d4c7612ca3bbb1.zip meta-impy-489ac5bdda11551401fae1ec63d4c7612ca3bbb1.tar.gz meta-impy-489ac5bdda11551401fae1ec63d4c7612ca3bbb1.tar.bz2 meta-impy-489ac5bdda11551401fae1ec63d4c7612ca3bbb1.tar.xz |
Merge commit 'jacek/next' into weekly
Diffstat (limited to 'linden/indra/newview/llhudeffectpointat.cpp')
-rw-r--r-- | linden/indra/newview/llhudeffectpointat.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/linden/indra/newview/llhudeffectpointat.cpp b/linden/indra/newview/llhudeffectpointat.cpp index 2b82748..17485cf 100644 --- a/linden/indra/newview/llhudeffectpointat.cpp +++ b/linden/indra/newview/llhudeffectpointat.cpp | |||
@@ -103,6 +103,32 @@ LLHUDEffectPointAt::~LLHUDEffectPointAt() | |||
103 | //----------------------------------------------------------------------------- | 103 | //----------------------------------------------------------------------------- |
104 | void LLHUDEffectPointAt::packData(LLMessageSystem *mesgsys) | 104 | void LLHUDEffectPointAt::packData(LLMessageSystem *mesgsys) |
105 | { | 105 | { |
106 | LLViewerObject* source_object = (LLViewerObject*)mSourceObject; | ||
107 | |||
108 | if (!source_object) | ||
109 | { | ||
110 | markDead(); | ||
111 | return; | ||
112 | } | ||
113 | else if (!source_object->isAvatar()) | ||
114 | { | ||
115 | LL_DEBUGS("HUDEffect")<<"Non-Avatar HUDEffectPointAt message for ID: " | ||
116 | << source_object->getID().asString()<< LL_ENDL; | ||
117 | markDead(); | ||
118 | return; | ||
119 | } | ||
120 | else | ||
121 | { | ||
122 | LLVOAvatar* source_avatar = (LLVOAvatar*)source_object; | ||
123 | if (!source_avatar->isSelf()) | ||
124 | { | ||
125 | LL_DEBUGS("HUDEffect")<<"Non-self HUDEffectPointAt message for ID: " | ||
126 | << source_avatar->getID().asString()<< LL_ENDL; | ||
127 | markDead(); | ||
128 | return; | ||
129 | } | ||
130 | } | ||
131 | |||
106 | // Pack the default data | 132 | // Pack the default data |
107 | LLHUDEffect::packData(mesgsys); | 133 | LLHUDEffect::packData(mesgsys); |
108 | 134 | ||