Undo needless check

meow-7.2.2
Ansariel 2021-02-14 16:09:48 +01:00
parent b4afa5f1b8
commit 719158dac4
1 changed files with 1 additions and 7 deletions

View File

@ -1061,13 +1061,7 @@ U32 LLInventoryModel::updateItem(const LLViewerInventoryItem* item, U32 mask)
LLUUID new_parent_id = item->getParentUUID();
bool update_parent_on_server = false;
// if (new_parent_id.isNull() && !LLApp::isExiting())
// [SL:KB] - Patch: Appearance-Misc | Checked: Catznip-6.4
// The problem seems to be the 'LogoutReply' message so don't reparent anything to the LNF folder
// as soon as we've sent out the log out request (since the quitting state is only set >after< we
// start processing the logout response)
if ( (new_parent_id.isNull()) && (!LLAppViewer::instance()->logoutRequestSent()) && (!LLApp::isExiting()) )
// [/SL:KB]
if (new_parent_id.isNull() && !LLApp::isExiting())
{
if (old_parent_id.isNull())
{