diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp index 90b1bd3..7547dd2 100644 --- a/linden/indra/newview/llselectmgr.cpp +++ b/linden/indra/newview/llselectmgr.cpp | |||
@@ -5499,6 +5499,10 @@ void LLSelectMgr::updateSelectionCenter() | |||
5499 | 5499 | ||
5500 | std::vector < LLViewerObject *> jointed_objects; | 5500 | std::vector < LLViewerObject *> jointed_objects; |
5501 | 5501 | ||
5502 | // Initialize the bounding box to the root prim, so the BBox orientation | ||
5503 | // matches the root prim's (affecting the orientation of the manipulators). | ||
5504 | bbox.addBBoxAgent( (mSelectedObjects->getFirstRootObject(TRUE))->getBoundingBoxAgent() ); | ||
5505 | |||
5502 | for (LLObjectSelection::iterator iter = mSelectedObjects->begin(); | 5506 | for (LLObjectSelection::iterator iter = mSelectedObjects->begin(); |
5503 | iter != mSelectedObjects->end(); iter++) | 5507 | iter != mSelectedObjects->end(); iter++) |
5504 | { | 5508 | { |