aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llvoavatar.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-11-07 16:21:26 -0700
committerMcCabe Maxsted2009-11-07 16:21:26 -0700
commit5a376379b6eeca8ecb709d5415ac130a1a99b4be (patch)
tree08da468b4bbf8025cf9da3cc2f2f12ff45d6ef00 /linden/indra/newview/llvoavatar.cpp
parentChanged default UIScaleFactor to 1.002 as a workaround to some font rendering... (diff)
downloadmeta-impy-5a376379b6eeca8ecb709d5415ac130a1a99b4be.zip
meta-impy-5a376379b6eeca8ecb709d5415ac130a1a99b4be.tar.gz
meta-impy-5a376379b6eeca8ecb709d5415ac130a1a99b4be.tar.bz2
meta-impy-5a376379b6eeca8ecb709d5415ac130a1a99b4be.tar.xz
Applied RLVa-1.0.5e_20091107_Imprudence-1.2.0-diff.patch
Diffstat (limited to 'linden/indra/newview/llvoavatar.cpp')
-rw-r--r--linden/indra/newview/llvoavatar.cpp31
1 files changed, 2 insertions, 29 deletions
diff --git a/linden/indra/newview/llvoavatar.cpp b/linden/indra/newview/llvoavatar.cpp
index 4ab14f4..df07701 100644
--- a/linden/indra/newview/llvoavatar.cpp
+++ b/linden/indra/newview/llvoavatar.cpp
@@ -6451,37 +6451,10 @@ BOOL LLVOAvatar::attachObject(LLViewerObject *viewer_object)
6451 { 6451 {
6452 updateAttachmentVisibility(gAgent.getCameraMode()); 6452 updateAttachmentVisibility(gAgent.getCameraMode());
6453 6453
6454// [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) 6454// [RLVa:KB] - Checked: 2009-10-10 (RLVa-1.0.5a) | Modified: RLVa-1.0.5a
6455 if (rlv_handler_t::isEnabled()) 6455 if (rlv_handler_t::isEnabled())
6456 { 6456 {
6457 static bool fRlvFullyLoaded = false; 6457 gRlvHandler.onAttach(attachment);
6458 static LLFrameTimer* pRlvFullyLoadedTimer = NULL;
6459
6460 // There's no way to know when we're done reattaching what was attached at log-off but this ugly evil bad hack tries anyway
6461 if (!fRlvFullyLoaded)
6462 {
6463 if (pRlvFullyLoadedTimer)
6464 {
6465 if (pRlvFullyLoadedTimer->getElapsedTimeF32() > 30.0f)
6466 {
6467 fRlvFullyLoaded = true;
6468 delete pRlvFullyLoadedTimer;
6469 pRlvFullyLoadedTimer = NULL;
6470 }
6471 else
6472 {
6473 pRlvFullyLoadedTimer->reset();
6474 }
6475 }
6476 else if ( (!pRlvFullyLoadedTimer) &&
6477 ( (0 == mPendingAttachment.size()) ||
6478 ((1 == mPendingAttachment.size()) && (mPendingAttachment[0] == viewer_object)) ) )
6479 {
6480 pRlvFullyLoadedTimer = new LLFrameTimer();
6481 }
6482 }
6483
6484 gRlvHandler.onAttach(attachment, fRlvFullyLoaded);
6485 } 6458 }
6486// [/RLVa:KB] 6459// [/RLVa:KB]
6487 6460