diff options
author | Jacek Antonelli | 2008-10-03 18:05:46 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-10-03 18:06:00 -0500 |
commit | 04f9d0b7cef929ad9acdea37bf5f826850993c52 (patch) | |
tree | 4f89e6ad443f04b66d562af0bbae7e95cb44dc24 /linden/indra/newview/llselectmgr.cpp | |
parent | Second Life viewer sources 1.21.3-RC (diff) | |
download | meta-impy-04f9d0b7cef929ad9acdea37bf5f826850993c52.zip meta-impy-04f9d0b7cef929ad9acdea37bf5f826850993c52.tar.gz meta-impy-04f9d0b7cef929ad9acdea37bf5f826850993c52.tar.bz2 meta-impy-04f9d0b7cef929ad9acdea37bf5f826850993c52.tar.xz |
Second Life viewer sources 1.21.4-RC
Diffstat (limited to 'linden/indra/newview/llselectmgr.cpp')
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp index 78b921b..2e4983c 100644 --- a/linden/indra/newview/llselectmgr.cpp +++ b/linden/indra/newview/llselectmgr.cpp | |||
@@ -3450,7 +3450,9 @@ void LLSelectMgr::deselectAllIfTooFar() | |||
3450 | } | 3450 | } |
3451 | 3451 | ||
3452 | LLVector3d selectionCenter = getSelectionCenterGlobal(); | 3452 | LLVector3d selectionCenter = getSelectionCenterGlobal(); |
3453 | if (gSavedSettings.getBOOL("LimitSelectDistance") | 3453 | if (gSavedSettings.getBOOL("LimitSelectDistance") |
3454 | && (!mSelectedObjects->getPrimaryObject() || !mSelectedObjects->getPrimaryObject()->isAvatar()) | ||
3455 | && !mSelectedObjects->isAttachment() | ||
3454 | && !selectionCenter.isExactlyZero()) | 3456 | && !selectionCenter.isExactlyZero()) |
3455 | { | 3457 | { |
3456 | F32 deselect_dist = gSavedSettings.getF32("MaxSelectDistance"); | 3458 | F32 deselect_dist = gSavedSettings.getF32("MaxSelectDistance"); |