aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llviewerwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llviewerwindow.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llviewerwindow.cpp b/linden/indra/newview/llviewerwindow.cpp
index 3b23bb9..2240d44 100644
--- a/linden/indra/newview/llviewerwindow.cpp
+++ b/linden/indra/newview/llviewerwindow.cpp
@@ -2993,6 +2993,16 @@ void LLViewerWindow::renderSelections( BOOL for_gl_pick, BOOL pick_parcel_walls,
2993 { 2993 {
2994 moveable_object_selected = TRUE; 2994 moveable_object_selected = TRUE;
2995 this_object_movable = TRUE; 2995 this_object_movable = TRUE;
2996
2997// [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) | Modified: RLVa-0.2.0g
2998 if ( (rlv_handler_t::isEnabled()) &&
2999 ((gRlvHandler.hasBehaviour(RLV_BHVR_UNSIT)) || (gRlvHandler.hasBehaviour(RLV_BHVR_SITTP))) )
3000 {
3001 LLVOAvatar* pAvatar = gAgent.getAvatarObject();
3002 if ( (pAvatar) && (pAvatar->mIsSitting) && (pAvatar->getRoot() == object->getRootEdit()) )
3003 moveable_object_selected = this_object_movable = FALSE;
3004 }
3005// [/RLVa:KB]
2996 } 3006 }
2997 all_selected_objects_move = all_selected_objects_move && this_object_movable; 3007 all_selected_objects_move = all_selected_objects_move && this_object_movable;
2998 all_selected_objects_modify = all_selected_objects_modify && object->permModify(); 3008 all_selected_objects_modify = all_selected_objects_modify && object->permModify();