diff options
Diffstat (limited to 'linden/indra/newview/lltoolface.cpp')
-rw-r--r-- | linden/indra/newview/lltoolface.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/lltoolface.cpp b/linden/indra/newview/lltoolface.cpp index d06e41c..3cddba7 100644 --- a/linden/indra/newview/lltoolface.cpp +++ b/linden/indra/newview/lltoolface.cpp | |||
@@ -100,6 +100,16 @@ void LLToolFace::pickCallback(const LLPickInfo& pick_info) | |||
100 | return; | 100 | return; |
101 | } | 101 | } |
102 | 102 | ||
103 | // [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) | Modified: RLVa-0.2.0f | ||
104 | if ( (rlv_handler_t::isEnabled()) && | ||
105 | ( (gRlvHandler.hasBehaviour(RLV_BHVR_EDIT)) || | ||
106 | ( (gRlvHandler.hasBehaviour(RLV_BHVR_FARTOUCH)) && ((!hit_obj->isAttachment()) || (!hit_obj->permYouOwner())) && | ||
107 | (dist_vec_squared(gAgent.getPositionAgent(), hit_obj->getPositionRegion() + pick_info.mObjectOffset) > 1.5f * 1.5f) ))) | ||
108 | { | ||
109 | return; | ||
110 | } | ||
111 | // [/RLVa:KB] | ||
112 | |||
103 | // ...clicked on a world object, try to pick the appropriate face | 113 | // ...clicked on a world object, try to pick the appropriate face |
104 | 114 | ||
105 | if (pick_info.mKeyMask & MASK_SHIFT) | 115 | if (pick_info.mKeyMask & MASK_SHIFT) |