viewer#1253 Viewer tries to detach attachments in inventory on shutdown
parent
aa3fe3352e
commit
067c400803
|
|
@ -699,7 +699,7 @@ bool LLVOAvatarSelf::isValid() const
|
|||
// virtual
|
||||
void LLVOAvatarSelf::idleUpdate(LLAgent &agent, const F64 &time)
|
||||
{
|
||||
if (isValid())
|
||||
if (isAgentAvatarValid())
|
||||
{
|
||||
LLVOAvatar::idleUpdate(agent, time);
|
||||
idleUpdateTractorBeam();
|
||||
|
|
@ -1238,7 +1238,7 @@ bool LLVOAvatarSelf::detachObject(LLViewerObject *viewer_object)
|
|||
// Make sure the inventory is in sync with the avatar.
|
||||
|
||||
// Update COF contents, don't trigger appearance update.
|
||||
if (!isValid())
|
||||
if (!isAgentAvatarValid())
|
||||
{
|
||||
LL_INFOS() << "removeItemLinks skipped, avatar is under destruction" << LL_ENDL;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ private:
|
|||
public:
|
||||
/*virtual*/ bool isSelf() const { return true; }
|
||||
virtual bool isBuddy() const { return false; }
|
||||
/*virtual*/ bool isValid() const;
|
||||
/*virtual*/ bool isValid() const; // use isAgentAvatarValid, it's fuller
|
||||
|
||||
//--------------------------------------------------------------------
|
||||
// Updates
|
||||
|
|
|
|||
Loading…
Reference in New Issue