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 7e6c24f..0ab4ab6 100644
--- a/linden/indra/newview/llviewerwindow.cpp
+++ b/linden/indra/newview/llviewerwindow.cpp
@@ -3248,6 +3248,16 @@ void LLViewerWindow::renderSelections( BOOL for_gl_pick, BOOL pick_parcel_walls,
3248 { 3248 {
3249 moveable_object_selected = TRUE; 3249 moveable_object_selected = TRUE;
3250 this_object_movable = TRUE; 3250 this_object_movable = TRUE;
3251
3252// [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) | Modified: RLVa-0.2.0g
3253 if ( (rlv_handler_t::isEnabled()) &&
3254 ((gRlvHandler.hasBehaviour(RLV_BHVR_UNSIT)) || (gRlvHandler.hasBehaviour(RLV_BHVR_SITTP))) )
3255 {
3256 LLVOAvatar* pAvatar = gAgent.getAvatarObject();
3257 if ( (pAvatar) && (pAvatar->mIsSitting) && (pAvatar->getRoot() == object->getRootEdit()) )
3258 moveable_object_selected = this_object_movable = FALSE;
3259 }
3260// [/RLVa:KB]
3251 } 3261 }
3252 all_selected_objects_move = all_selected_objects_move && this_object_movable; 3262 all_selected_objects_move = all_selected_objects_move && this_object_movable;
3253 all_selected_objects_modify = all_selected_objects_modify && object->permModify(); 3263 all_selected_objects_modify = all_selected_objects_modify && object->permModify();