aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/rlvhelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/rlvhelper.cpp')
-rw-r--r--linden/indra/newview/rlvhelper.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/linden/indra/newview/rlvhelper.cpp b/linden/indra/newview/rlvhelper.cpp
index 6b2a1a0..429a527 100644
--- a/linden/indra/newview/rlvhelper.cpp
+++ b/linden/indra/newview/rlvhelper.cpp
@@ -409,12 +409,11 @@ bool rlvCanDeleteOrReturn()
409 return fIsAllowed; 409 return fIsAllowed;
410} 410}
411 411
412// Checked: 2009-07-05 (RLVa-1.0.0c) 412// Checked: 2009-09-08 (RLVa-1.0.2c) | Modified: RLVa-1.0.2c
413BOOL rlvAttachToEnabler(void* pParam) 413BOOL rlvAttachToEnabler(void* pParam)
414{ 414{
415 // Enables/disables an option on the "Attach to (HUD)" submenu depending on whether it is (un)detachable 415 // Enables/disables an option on the "Attach to (HUD)" submenu depending on whether it is (un)detachable
416 LLViewerJointAttachment* pAttachment = (LLViewerJointAttachment*)pParam; 416 return gRlvHandler.isDetachable((LLViewerJointAttachment*)pParam);
417 return (!pAttachment) || (gRlvHandler.isDetachable(pAttachment->getObject()));
418} 417}
419 418
420BOOL RlvGCTimer::tick() 419BOOL RlvGCTimer::tick()
@@ -672,3 +671,7 @@ std::string rlvGetLastParenthesisedText(const std::string& strText, std::string:
672} 671}
673 672
674// ========================================================================= 673// =========================================================================
674// Debug helper functions
675//
676
677// =========================================================================