Experimental disabling of adding/removing wearables when link-creation/old-link-deletion is still pending a response from the server.

This commit is contained in:
Shyotl
2015-07-23 01:35:58 -05:00
parent 22b12223ef
commit f5fcf385e4
3 changed files with 12 additions and 7 deletions

View File

@@ -494,6 +494,7 @@ LLUpdateAppearanceOnDestroy::LLUpdateAppearanceOnDestroy(bool enforce_item_restr
mEnforceOrdering(enforce_ordering),
mPostUpdateFunc(post_update_func)
{
sActiveCallbacks++;
selfStartPhase("update_appearance_on_destroy");
}
@@ -509,6 +510,7 @@ void LLUpdateAppearanceOnDestroy::fire(const LLUUID& inv_item)
LLUpdateAppearanceOnDestroy::~LLUpdateAppearanceOnDestroy()
{
--sActiveCallbacks;
if (!LLApp::isExiting())
{
// speculative fix for MAINT-1150
@@ -522,6 +524,7 @@ LLUpdateAppearanceOnDestroy::~LLUpdateAppearanceOnDestroy()
}
}
U32 LLUpdateAppearanceOnDestroy::sActiveCallbacks = 0;
void edit_wearable_and_customize_avatar(LLUUID item_id)
{