diff options
author | Armin Weatherwax | 2010-03-09 23:00:38 +0100 |
---|---|---|
committer | Jacek Antonelli | 2010-06-19 02:43:01 -0500 |
commit | 523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6 (patch) | |
tree | efc2b1bf0b7ca57b4fcc5e64da555907437a408d /linden/indra/newview/llagent.cpp | |
parent | Applied patch by Kirstenlee Cinquetti for SNOW-493: LLDataPackerBinaryBuffer:... (diff) | |
download | meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.zip meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.gz meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.bz2 meta-impy-523e0e2dff6af1c5bc12e2aefc0ca9b96bf26fd6.tar.xz |
Henri Beauchamp: Port of SG-2.0 alpha and tattoo layers (v6)
slviewer-0-v12350-AlphaAndTattooSupport-patch.zip contains the necessary
avatar_lad.xml and other artwork. The new avatar_lad.xml crashes clients
without alpha and tattoo support at startup.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llagent.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/linden/indra/newview/llagent.cpp b/linden/indra/newview/llagent.cpp index 859f7f6..4753bc8 100644 --- a/linden/indra/newview/llagent.cpp +++ b/linden/indra/newview/llagent.cpp | |||
@@ -7091,7 +7091,9 @@ void LLAgent::createStandardWearables(BOOL female) | |||
7091 | FALSE, //WT_GLOVES | 7091 | FALSE, //WT_GLOVES |
7092 | TRUE, //WT_UNDERSHIRT | 7092 | TRUE, //WT_UNDERSHIRT |
7093 | TRUE, //WT_UNDERPANTS | 7093 | TRUE, //WT_UNDERPANTS |
7094 | FALSE //WT_SKIRT | 7094 | FALSE, //WT_SKIRT |
7095 | FALSE, //WT_ALPHA | ||
7096 | FALSE //WT_TATTOO | ||
7095 | }; | 7097 | }; |
7096 | 7098 | ||
7097 | for( S32 i=0; i < WT_COUNT; i++ ) | 7099 | for( S32 i=0; i < WT_COUNT; i++ ) |
@@ -7602,6 +7604,8 @@ void LLAgent::setWearableOutfit( | |||
7602 | wearables_to_remove[WT_UNDERPANTS] = (!gAgent.isTeen()) && remove && gRlvHandler.isRemovable(WT_UNDERPANTS); | 7604 | wearables_to_remove[WT_UNDERPANTS] = (!gAgent.isTeen()) && remove && gRlvHandler.isRemovable(WT_UNDERPANTS); |
7603 | wearables_to_remove[WT_SKIRT] = remove && gRlvHandler.isRemovable(WT_SKIRT); | 7605 | wearables_to_remove[WT_SKIRT] = remove && gRlvHandler.isRemovable(WT_SKIRT); |
7604 | // [/RLVa:KB] | 7606 | // [/RLVa:KB] |
7607 | wearables_to_remove[WT_ALPHA] = remove; | ||
7608 | wearables_to_remove[WT_TATTOO] = remove; | ||
7605 | 7609 | ||
7606 | S32 count = wearables.count(); | 7610 | S32 count = wearables.count(); |
7607 | llassert( items.count() == count ); | 7611 | llassert( items.count() == count ); |
@@ -7900,6 +7904,8 @@ void LLAgent::userRemoveAllClothesStep2( BOOL proceed, void* userdata ) | |||
7900 | gAgent.removeWearable( WT_UNDERSHIRT ); | 7904 | gAgent.removeWearable( WT_UNDERSHIRT ); |
7901 | gAgent.removeWearable( WT_UNDERPANTS ); | 7905 | gAgent.removeWearable( WT_UNDERPANTS ); |
7902 | gAgent.removeWearable( WT_SKIRT ); | 7906 | gAgent.removeWearable( WT_SKIRT ); |
7907 | gAgent.removeWearable( WT_ALPHA ); | ||
7908 | gAgent.removeWearable( WT_TATTOO ); | ||
7903 | } | 7909 | } |
7904 | } | 7910 | } |
7905 | 7911 | ||