aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llselectmgr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llselectmgr.cpp')
-rw-r--r--linden/indra/newview/llselectmgr.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp
index 0f5a98a..7afe073 100644
--- a/linden/indra/newview/llselectmgr.cpp
+++ b/linden/indra/newview/llselectmgr.cpp
@@ -3444,7 +3444,7 @@ void LLSelectMgr::deselectAllIfTooFar()
3444 3444
3445 // HACK: Don't deselect when we're navigating to rate an object's 3445 // HACK: Don't deselect when we're navigating to rate an object's
3446 // owner or creator. JC 3446 // owner or creator. JC
3447 if (gPieObject->getVisible() || gPieRate->getVisible() ) 3447 if (gPieObject->getVisible())
3448 { 3448 {
3449 return; 3449 return;
3450 } 3450 }
@@ -5501,6 +5501,10 @@ void LLSelectMgr::updateSelectionCenter()
5501 5501
5502 std::vector < LLViewerObject *> jointed_objects; 5502 std::vector < LLViewerObject *> jointed_objects;
5503 5503
5504 // Initialize the bounding box to the root prim, so the BBox orientation
5505 // matches the root prim's (affecting the orientation of the manipulators).
5506 bbox.addBBoxAgent( (mSelectedObjects->getFirstRootObject(TRUE))->getBoundingBoxAgent() );
5507
5504 for (LLObjectSelection::iterator iter = mSelectedObjects->begin(); 5508 for (LLObjectSelection::iterator iter = mSelectedObjects->begin();
5505 iter != mSelectedObjects->end(); iter++) 5509 iter != mSelectedObjects->end(); iter++)
5506 { 5510 {
@@ -5747,7 +5751,8 @@ BOOL LLSelectMgr::canSelectObject(LLViewerObject* object)
5747 } 5751 }
5748 5752
5749 if ((gSavedSettings.getBOOL("SelectOwnedOnly") && !object->permYouOwner()) || 5753 if ((gSavedSettings.getBOOL("SelectOwnedOnly") && !object->permYouOwner()) ||
5750 (gSavedSettings.getBOOL("SelectMovableOnly") && !object->permMove())) 5754 (gSavedSettings.getBOOL("SelectMovableOnly") && !object->permMove()) ||
5755 (gSavedSettings.getBOOL("SelectCopyableOnly") && !object->permCopy()))
5751 { 5756 {
5752 // only select my own objects 5757 // only select my own objects
5753 return FALSE; 5758 return FALSE;