Viewer tag fix for silliness on other avatars not showing tags I blame clothing protection
This commit is contained in:
@@ -75,10 +75,10 @@
|
||||
|
||||
#include "llappviewer.h"
|
||||
|
||||
// <edit>
|
||||
#include "llimportobject.h"
|
||||
// <edit>
|
||||
#include "llimportobject.h"
|
||||
// </edit>
|
||||
|
||||
|
||||
extern F32 gMinObjectDistance;
|
||||
extern BOOL gAnimateTextures;
|
||||
|
||||
@@ -548,28 +548,28 @@ void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys,
|
||||
}
|
||||
processUpdateCore(objectp, user_data, i, update_type, NULL, justCreated);
|
||||
}
|
||||
// <edit>
|
||||
if(justCreated && LLXmlImport::sImportInProgress)
|
||||
{
|
||||
if(objectp)
|
||||
{
|
||||
LLViewerObject* parent = (LLViewerObject*)objectp->getParent();
|
||||
if(parent)
|
||||
{
|
||||
if(parent->getID() == gAgent.getID())
|
||||
{
|
||||
LLXmlImport::onNewAttachment(objectp);
|
||||
}
|
||||
}
|
||||
else if( objectp->permYouOwner()
|
||||
&& (objectp->getPCode() == LLXmlImport::sSupplyParams->getPCode())
|
||||
&& (objectp->getScale() == LLXmlImport::sSupplyParams->getScale()))
|
||||
{
|
||||
LLXmlImport::onNewPrim(objectp);
|
||||
}
|
||||
}
|
||||
}
|
||||
// </edit>
|
||||
// <edit>
|
||||
if(justCreated && LLXmlImport::sImportInProgress)
|
||||
{
|
||||
if(objectp)
|
||||
{
|
||||
LLViewerObject* parent = (LLViewerObject*)objectp->getParent();
|
||||
if(parent)
|
||||
{
|
||||
if(parent->getID() == gAgent.getID())
|
||||
{
|
||||
LLXmlImport::onNewAttachment(objectp);
|
||||
}
|
||||
}
|
||||
else if( objectp->permYouOwner()
|
||||
&& (objectp->getPCode() == LLXmlImport::sSupplyParams->getPCode())
|
||||
&& (objectp->getScale() == LLXmlImport::sSupplyParams->getScale()))
|
||||
{
|
||||
LLXmlImport::onNewPrim(objectp);
|
||||
}
|
||||
}
|
||||
}
|
||||
// </edit>
|
||||
}
|
||||
|
||||
LLVOAvatar::cullAvatarsByPixelArea();
|
||||
@@ -668,7 +668,7 @@ void LLViewerObjectList::updateApparentAngles(LLAgent &agent)
|
||||
mCurLazyUpdateIndex = 0;
|
||||
}
|
||||
|
||||
mCurBin = (++mCurBin) % NUM_BINS;
|
||||
mCurBin = (mCurBin + 1) % NUM_BINS;
|
||||
|
||||
LLVOAvatar::cullAvatarsByPixelArea();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user