diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llpreviewscript.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llpreviewscript.cpp b/linden/indra/newview/llpreviewscript.cpp index 6273011..69b6864 100644 --- a/linden/indra/newview/llpreviewscript.cpp +++ b/linden/indra/newview/llpreviewscript.cpp | |||
@@ -1989,8 +1989,8 @@ void LLLiveLSLEditor::onRunningCheckboxClicked( LLUICtrl*, void* userdata ) | |||
1989 | LLCheckBoxCtrl* runningCheckbox = self->getChild<LLCheckBoxCtrl>("running"); | 1989 | LLCheckBoxCtrl* runningCheckbox = self->getChild<LLCheckBoxCtrl>("running"); |
1990 | BOOL running = runningCheckbox->get(); | 1990 | BOOL running = runningCheckbox->get(); |
1991 | //self->mRunningCheckbox->get(); | 1991 | //self->mRunningCheckbox->get(); |
1992 | // [RLVa:KB] - Checked: 2009-07-06 (RLVa-1.0.0c) | 1992 | // [RLVa:KB] - Checked: 2009-10-10 (RLVa-1.0.5a) | Modified: RLVa-1.0.5a |
1993 | if ( (rlv_handler_t::isEnabled()) && (!gRlvHandler.isDetachable(object)) ) | 1993 | if ( (rlv_handler_t::isEnabled()) && (gRlvHandler.isLockedAttachment(object, RLV_LOCK_REMOVE)) ) |
1994 | { | 1994 | { |
1995 | return; | 1995 | return; |
1996 | } | 1996 | } |
@@ -2020,8 +2020,8 @@ void LLLiveLSLEditor::onReset(void *userdata) | |||
2020 | LLLiveLSLEditor* self = (LLLiveLSLEditor*) userdata; | 2020 | LLLiveLSLEditor* self = (LLLiveLSLEditor*) userdata; |
2021 | 2021 | ||
2022 | LLViewerObject* object = gObjectList.findObject( self->mObjectID ); | 2022 | LLViewerObject* object = gObjectList.findObject( self->mObjectID ); |
2023 | // [RLVa:KB] - Checked: 2009-07-06 (RLVa-1.0.0c) | 2023 | // [RLVa:KB] - Checked: 2009-10-10 (RLVa-1.0.5a) | Modified: RLVa-1.0.5a |
2024 | if ( (rlv_handler_t::isEnabled()) && (!gRlvHandler.isDetachable(object)) ) | 2024 | if ( (rlv_handler_t::isEnabled()) && (gRlvHandler.isLockedAttachment(object, RLV_LOCK_REMOVE)) ) |
2025 | { | 2025 | { |
2026 | return; | 2026 | return; |
2027 | } | 2027 | } |
@@ -2448,8 +2448,8 @@ void LLLiveLSLEditor::onSave(void* userdata, BOOL close_after_save) | |||
2448 | { | 2448 | { |
2449 | LLLiveLSLEditor* self = (LLLiveLSLEditor*)userdata; | 2449 | LLLiveLSLEditor* self = (LLLiveLSLEditor*)userdata; |
2450 | 2450 | ||
2451 | // [RLVa:KB] - Checked: 2009-07-06 (RLVa-1.0.0c) | 2451 | // [RLVa:KB] - Checked: 2009-10-10 (RLVa-1.0.5a) | Modified: RLVa-1.0.5a |
2452 | if ( (rlv_handler_t::isEnabled()) && (!gRlvHandler.isDetachable(gObjectList.findObject(self->mObjectID))) ) | 2452 | if ( (rlv_handler_t::isEnabled()) && (gRlvHandler.isLockedAttachment(gObjectList.findObject(self->mObjectID), RLV_LOCK_REMOVE)) ) |
2453 | { | 2453 | { |
2454 | return; | 2454 | return; |
2455 | } | 2455 | } |