diff options
author | Armin Weatherwax | 2009-06-26 09:39:58 +0200 |
---|---|---|
committer | Armin Weatherwax | 2009-07-11 13:42:35 +0200 |
commit | 7067b31a6114089217e482bfecc58fd56bed4272 (patch) | |
tree | e0bb99a42c64cdb75e9ca15a38bc1171377c7739 /linden/indra/newview/llwearablelist.cpp | |
parent | Updated URL for Mac OpenAL libs package. (diff) | |
download | meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.zip meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.gz meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.bz2 meta-impy-7067b31a6114089217e482bfecc58fd56bed4272.tar.xz |
BROKEN logoff/relog crashing inconsistently on various startup states.
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llwearablelist.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/linden/indra/newview/llwearablelist.cpp b/linden/indra/newview/llwearablelist.cpp index 2d4f26a..4e91975 100644 --- a/linden/indra/newview/llwearablelist.cpp +++ b/linden/indra/newview/llwearablelist.cpp | |||
@@ -42,6 +42,9 @@ | |||
42 | #include "llviewerstats.h" | 42 | #include "llviewerstats.h" |
43 | #include "llnotify.h" | 43 | #include "llnotify.h" |
44 | 44 | ||
45 | #include "llstartup.h" | ||
46 | #include "llpanellogin.h" | ||
47 | |||
45 | // Globals | 48 | // Globals |
46 | LLWearableList gWearableList; // Globally constructed; be careful that there's no dependency with gAgent. | 49 | LLWearableList gWearableList; // Globally constructed; be careful that there's no dependency with gAgent. |
47 | 50 | ||
@@ -185,12 +188,15 @@ void LLWearableList::processGetAssetReply( const char* filename, const LLAssetID | |||
185 | args["[TYPE]"] = LLAssetType::lookupHumanReadable(data->mAssetType); | 188 | args["[TYPE]"] = LLAssetType::lookupHumanReadable(data->mAssetType); |
186 | if (data->mName.empty()) | 189 | if (data->mName.empty()) |
187 | { | 190 | { |
188 | LLNotifyBox::showXml("FailedToFindWearableUnnamed", args); | 191 | // work around missing avatar part spam on grid to grid teleport login |
192 | if(LLStartUp::shouldAutoLogin() && !gLoginHandler.mPassword.empty()) | ||
193 | LLNotifyBox::showXml("FailedToFindWearableUnnamed", args); | ||
189 | } | 194 | } |
190 | else | 195 | else |
191 | { | 196 | { |
192 | args["[DESC]"] = data->mName; | 197 | args["[DESC]"] = data->mName; |
193 | LLNotifyBox::showXml("FailedToFindWearable", args); | 198 | if(LLStartUp::shouldAutoLogin() && !gLoginHandler.mPassword.empty()) |
199 | LLNotifyBox::showXml("FailedToFindWearable", args); | ||
194 | } | 200 | } |
195 | } | 201 | } |
196 | // Always call callback; wearable will be NULL if we failed | 202 | // Always call callback; wearable will be NULL if we failed |