diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewerobject.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewerobject.cpp b/linden/indra/newview/llviewerobject.cpp index a1a971f..5cb65b6 100644 --- a/linden/indra/newview/llviewerobject.cpp +++ b/linden/indra/newview/llviewerobject.cpp | |||
@@ -4,6 +4,7 @@ | |||
4 | * | 4 | * |
5 | * Copyright (c) 2001-2007, Linden Research, Inc. | 5 | * Copyright (c) 2001-2007, Linden Research, Inc. |
6 | * | 6 | * |
7 | * Second Life Viewer Source Code | ||
7 | * The source code in this file ("Source Code") is provided by Linden Lab | 8 | * The source code in this file ("Source Code") is provided by Linden Lab |
8 | * to you under the terms of the GNU General Public License, version 2.0 | 9 | * to you under the terms of the GNU General Public License, version 2.0 |
9 | * ("GPL"), unless you have obtained a separate licensing agreement | 10 | * ("GPL"), unless you have obtained a separate licensing agreement |
@@ -4631,6 +4632,13 @@ void LLViewerObject::setRegion(LLViewerRegion *regionp) | |||
4631 | llassert(regionp); | 4632 | llassert(regionp); |
4632 | mLatestRecvPacketID = 0; | 4633 | mLatestRecvPacketID = 0; |
4633 | mRegionp = regionp; | 4634 | mRegionp = regionp; |
4635 | |||
4636 | for (child_list_t::iterator i = getChildren().begin(); i != getChildren().end(); ++i) | ||
4637 | { | ||
4638 | LLViewerObject* child = *i; | ||
4639 | child->setRegion(regionp); | ||
4640 | } | ||
4641 | |||
4634 | setChanged(MOVED | SILHOUETTE); | 4642 | setChanged(MOVED | SILHOUETTE); |
4635 | updateDrawable(FALSE); | 4643 | updateDrawable(FALSE); |
4636 | } | 4644 | } |