| 5 |
* |
* |
| 6 |
* $LicenseInfo:firstyear=2002&license=viewergpl$ |
* $LicenseInfo:firstyear=2002&license=viewergpl$ |
| 7 |
* |
* |
| 8 |
* Copyright (c) 2002-2009, Linden Research, Inc. |
* Copyright (c) 2002-2010, Linden Research, Inc. |
| 9 |
* |
* |
| 10 |
* Second Life Viewer Source Code |
* Second Life Viewer Source Code |
| 11 |
* The source code in this file ("Source Code") is provided by Linden Lab |
* The source code in this file ("Source Code") is provided by Linden Lab |
| 7857 |
{ |
{ |
| 7858 |
new_value = LLAgent::selfHasWearable((void *)WT_SKIRT); |
new_value = LLAgent::selfHasWearable((void *)WT_SKIRT); |
| 7859 |
} |
} |
| 7860 |
|
if (clothing == "alpha") |
| 7861 |
|
{ |
| 7862 |
|
new_value = LLAgent::selfHasWearable((void *)WT_ALPHA); |
| 7863 |
|
} |
| 7864 |
|
if (clothing == "tattoo") |
| 7865 |
|
{ |
| 7866 |
|
new_value = LLAgent::selfHasWearable((void *)WT_TATTOO); |
| 7867 |
|
} |
| 7868 |
gMenuHolder->findControl(control_name)->setValue(new_value); |
gMenuHolder->findControl(control_name)->setValue(new_value); |
| 7869 |
return true; |
return true; |
| 7870 |
} |
} |
| 7911 |
{ |
{ |
| 7912 |
LLAgent::userRemoveWearable((void*)WT_SKIRT); |
LLAgent::userRemoveWearable((void*)WT_SKIRT); |
| 7913 |
} |
} |
| 7914 |
|
else if (clothing == "alpha") |
| 7915 |
|
{ |
| 7916 |
|
LLAgent::userRemoveWearable((void*)WT_ALPHA); |
| 7917 |
|
} |
| 7918 |
|
else if (clothing == "tattoo") |
| 7919 |
|
{ |
| 7920 |
|
LLAgent::userRemoveWearable((void*)WT_TATTOO); |
| 7921 |
|
} |
| 7922 |
else if (clothing == "all") |
else if (clothing == "all") |
| 7923 |
{ |
{ |
| 7924 |
LLAgent::userRemoveAllClothes(NULL); |
LLAgent::userRemoveAllClothes(NULL); |