diff options
author | McCabe Maxsted | 2010-08-19 10:54:12 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-08-19 10:54:12 -0700 |
commit | 9302b9658ee8a2bc8547d5131faed42b6efa5575 (patch) | |
tree | cc43f4af2b727abf18986b283eface47cd23e59a /linden/indra/newview/llagent.cpp | |
parent | Disable ParticleChat by default, as it's a privacy concern. (diff) | |
download | meta-impy-9302b9658ee8a2bc8547d5131faed42b6efa5575.zip meta-impy-9302b9658ee8a2bc8547d5131faed42b6efa5575.tar.gz meta-impy-9302b9658ee8a2bc8547d5131faed42b6efa5575.tar.bz2 meta-impy-9302b9658ee8a2bc8547d5131faed42b6efa5575.tar.xz |
Applied RLVa-1.0.5e_fix.patch by Kitty Barnett to fix RLVa up to 1.0.5.e
Diffstat (limited to 'linden/indra/newview/llagent.cpp')
-rw-r--r-- | linden/indra/newview/llagent.cpp | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp index ef05fae..38e1c0f 100644 --- a/linden/indra/newview/llagent.cpp +++ b/linden/indra/newview/llagent.cpp | |||
@@ -4307,16 +4307,14 @@ void LLAgent::changeCameraToCustomizeAvatar(BOOL avatar_animate, BOOL camera_ani | |||
4307 | return; | 4307 | return; |
4308 | } | 4308 | } |
4309 | 4309 | ||
4310 | // if(gSavedSettings.getBOOL("AppearanceAnimate")) | ||
4310 | // [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) | 4311 | // [RLVa:KB] - Checked: 2009-07-10 (RLVa-1.0.0g) |
4311 | if(gSavedSettings.getBOOL("AppearanceAnimate")) | 4312 | if ( (gSavedSettings.getBOOL("AppearanceAnimate")) && |
4312 | if ( (gRlvHandler.hasBehaviour(RLV_BHVR_UNSIT)) && (mAvatarObject.notNull()) && (mAvatarObject->mIsSitting) ) | 4313 | ((!gRlvHandler.hasBehaviour(RLV_BHVR_UNSIT)) || ((mAvatarObject.notNull()) && (!mAvatarObject->mIsSitting))) ) |
4313 | { | ||
4314 | return; | ||
4315 | } | ||
4316 | // [/RLVa:KB] | 4314 | // [/RLVa:KB] |
4317 | 4315 | { | |
4318 | if(gSavedSettings.getBOOL("AppearanceAnimate")) | ||
4319 | setControlFlags(AGENT_CONTROL_STAND_UP); // force stand up | 4316 | setControlFlags(AGENT_CONTROL_STAND_UP); // force stand up |
4317 | } | ||
4320 | gViewerWindow->getWindow()->resetBusyCount(); | 4318 | gViewerWindow->getWindow()->resetBusyCount(); |
4321 | 4319 | ||
4322 | if (gFaceEditToolset) | 4320 | if (gFaceEditToolset) |
@@ -6285,8 +6283,7 @@ void LLAgent::setTeleportState(ETeleportState state) | |||
6285 | // We're outa here. Save "back" slurl. | 6283 | // We're outa here. Save "back" slurl. |
6286 | mTeleportSourceSLURL = getSLURL(); | 6284 | mTeleportSourceSLURL = getSLURL(); |
6287 | } | 6285 | } |
6288 | 6286 | // [RLVa:KB] - Version: 1.23.4 | Checked: 2009-07-07 (RLVa-1.0.0d) | Added: RLVa-0.2.0b | |
6289 | // [RLVa:KB] - Version: 1.22.11 | Checked: 2009-07-07 (RLVa-1.0.0d) | Added: RLVa-0.2.0b | ||
6290 | if ( (rlv_handler_t::isEnabled()) && (TELEPORT_NONE == mTeleportState) ) | 6287 | if ( (rlv_handler_t::isEnabled()) && (TELEPORT_NONE == mTeleportState) ) |
6291 | { | 6288 | { |
6292 | gRlvHandler.setCanCancelTp(true); | 6289 | gRlvHandler.setCanCancelTp(true); |
@@ -7473,7 +7470,7 @@ void LLAgent::removeWearable( EWearableType type ) | |||
7473 | return; | 7470 | return; |
7474 | } | 7471 | } |
7475 | 7472 | ||
7476 | // [RLVa:KB] - Version: 1.22.11 | Checked: 2009-07-07 (RLVa-1.0.0d) | 7473 | // [RLVa:KB] - Version: 1.23.4 | Checked: 2009-07-07 (RLVa-1.0.0d) |
7477 | if ( (rlv_handler_t::isEnabled()) && (!gRlvHandler.isRemovable(type)) ) | 7474 | if ( (rlv_handler_t::isEnabled()) && (!gRlvHandler.isRemovable(type)) ) |
7478 | { | 7475 | { |
7479 | return; | 7476 | return; |
@@ -7616,9 +7613,9 @@ void LLAgent::setWearableOutfit( | |||
7616 | wearables_to_remove[WT_UNDERSHIRT] = (!gAgent.isTeen()) && remove && gRlvHandler.isRemovable(WT_UNDERSHIRT); | 7613 | wearables_to_remove[WT_UNDERSHIRT] = (!gAgent.isTeen()) && remove && gRlvHandler.isRemovable(WT_UNDERSHIRT); |
7617 | wearables_to_remove[WT_UNDERPANTS] = (!gAgent.isTeen()) && remove && gRlvHandler.isRemovable(WT_UNDERPANTS); | 7614 | wearables_to_remove[WT_UNDERPANTS] = (!gAgent.isTeen()) && remove && gRlvHandler.isRemovable(WT_UNDERPANTS); |
7618 | wearables_to_remove[WT_SKIRT] = remove && gRlvHandler.isRemovable(WT_SKIRT); | 7615 | wearables_to_remove[WT_SKIRT] = remove && gRlvHandler.isRemovable(WT_SKIRT); |
7616 | wearables_to_remove[WT_ALPHA] = remove && gRlvHandler.isRemovable(WT_ALPHA); | ||
7617 | wearables_to_remove[WT_TATTOO] = remove && gRlvHandler.isRemovable(WT_TATTOO); | ||
7619 | // [/RLVa:KB] | 7618 | // [/RLVa:KB] |
7620 | wearables_to_remove[WT_ALPHA] = remove; | ||
7621 | wearables_to_remove[WT_TATTOO] = remove; | ||
7622 | 7619 | ||
7623 | S32 count = wearables.count(); | 7620 | S32 count = wearables.count(); |
7624 | llassert( items.count() == count ); | 7621 | llassert( items.count() == count ); |