summaryrefslogtreecommitdiff
path: root/indra/newview/llworld.cpp
diff options
context:
space:
mode:
authorandreykproductengine <akleshchev@productengine.com>2015-12-04 20:16:29 +0200
committerandreykproductengine <akleshchev@productengine.com>2015-12-04 20:16:29 +0200
commit6ed6158ac68076b6a6242a3a74a3394846227e04 (patch)
treee384e04ad0e9e6d3a18af43c77a448b03b18f837 /indra/newview/llworld.cpp
parent91b4e9b24bd69ba1fe51dffc8c5148d5451ded6d (diff)
MAINT-4260 FIXED Animated agents at high altitudes randomly show up at 0,0,0
Diffstat (limited to 'indra/newview/llworld.cpp')
-rwxr-xr-xindra/newview/llworld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llworld.cpp b/indra/newview/llworld.cpp
index 5d657f7eef..11d3706821 100755
--- a/indra/newview/llworld.cpp
+++ b/indra/newview/llworld.cpp
@@ -1281,7 +1281,7 @@ void LLWorld::getAvatars(uuid_vec_t* avatar_ids, std::vector<LLVector3d>* positi
{
LLVOAvatar* pVOAvatar = (LLVOAvatar*) *iter;
- if (!pVOAvatar->isDead() && !pVOAvatar->mIsDummy)
+ if (!pVOAvatar->isDead() && !pVOAvatar->mIsDummy && !pVOAvatar->isOrphaned())
{
LLVector3d pos_global = pVOAvatar->getPositionGlobal();
LLUUID uuid = pVOAvatar->getID();