Cleaner port of Ansariel's fix for Attachment loss on TP/Crossing

This commit is contained in:
Liru Færs
2020-01-04 12:07:59 -05:00
parent 6d776632a9
commit 28af96229b
6 changed files with 39 additions and 3 deletions

View File

@@ -2841,6 +2841,12 @@ void LLAppearanceMgr::wearInventoryCategory(LLInventoryCategory* category, bool
{
if(!category) return;
// Attachments getting lost on TP:
// We'll be sending the outfit change request to our current region,
// so we'll learn them if they've been sending bad kills.
// We don't take kindly to that sorta behaviour round these parts.
gAgent.setIsCrossingRegion(false);
selfClearPhases();
selfStartPhase("wear_inventory_category");