diff options
author | Josh Bell <josh@lindenlab.com> | 2007-01-04 02:04:29 +0000 |
---|---|---|
committer | Josh Bell <josh@lindenlab.com> | 2007-01-04 02:04:29 +0000 |
commit | d60f16540dba5616cd8260046b44ebc2a1047065 (patch) | |
tree | ab241efaf58ba4eeb1916763cef337a04bc15d64 /indra/newview/llviewerobjectlist.cpp | |
parent | 0434d35c160bcd0d78b8f4e795a62155f50a6fb8 (diff) |
svn merge svn+ssh://svn.lindenlab.com/svn/linden/release@56429 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance@56431
This turned up the following "lost" changes:
llapp.cpp (from maintenance r55371) - SIGPIPE fix, possibly
llfontgl.cpp (from maintenance r50207) - whitespace only
inventorybridge.cpp (property - non-executable)
skins/xui/*/* (from maintenance r55380) - XML processing instruction went AWOL
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rw-r--r-- | indra/newview/llviewerobjectlist.cpp | 42 |
1 files changed, 6 insertions, 36 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index e1fed12563..e2c1bc0695 100644 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -44,7 +44,6 @@ #include "lldatapacker.h" #include <zlib/zlib.h> #include "object_flags.h" -#include "llviewermedialist.h" extern BOOL gVelocityInterpolate; extern BOOL gPingInterpolate; @@ -178,11 +177,13 @@ void LLViewerObjectList::processUpdateCore(LLViewerObject* objectp, U32 i, const EObjectUpdateType update_type, LLDataPacker* dpp, - BOOL justCreated) + BOOL just_created) { LLMessageSystem* msg = gMessageSystem; - U32 pum_flags = objectp->processUpdateMessage(msg, user_data, i, update_type, dpp); + // ignore returned flags + objectp->processUpdateMessage(msg, user_data, i, update_type, dpp); + if (objectp->isDead()) { // The update failed @@ -196,7 +197,7 @@ void LLViewerObjectList::processUpdateCore(LLViewerObject* objectp, // Update the image levels of textures for this object. objectp->updateTextures(gAgent); - if (justCreated) + if (just_created) { gPipeline.addObject(objectp); } @@ -207,7 +208,7 @@ void LLViewerObjectList::processUpdateCore(LLViewerObject* objectp, findOrphans(objectp, msg->getSenderIP(), msg->getSenderPort()); // If we're just wandering around, don't create new objects selected. - if (justCreated + if (just_created && update_type != OUT_TERSE_IMPROVED && objectp->mCreateSelected) { @@ -223,37 +224,6 @@ void LLViewerObjectList::processUpdateCore(LLViewerObject* objectp, gViewerWindow->getWindow()->decBusyCount(); gViewerWindow->getWindow()->setCursor( UI_CURSOR_ARROW ); } - - if (gMediaList) - { - // we're using web pages on prims - if (pum_flags & LLViewerObject::MEDIA_URL_ADDED) - { - //llwarns << "WEBONPRIM media url added " << objectp->getMediaURL() << llendl; - gMediaList->addedMediaURL(objectp); - } - - if (pum_flags & LLViewerObject::MEDIA_URL_UPDATED) - { - //llwarns << "WEBONPRIM media url updated " << objectp->getMediaURL() << llendl; - gMediaList->updatedMediaURL(objectp); - } - - if (pum_flags & LLViewerObject::MEDIA_URL_REMOVED) - { - //llwarns << "WEBONPRIM media url removed " << objectp->getMediaURL() << llendl; - gMediaList->removedMediaURL(objectp); - } - - // Make sure we get moved in or out of LLDrawPoolMedia, as needed - if (pum_flags & (LLViewerObject::MEDIA_URL_ADDED | LLViewerObject::MEDIA_URL_REMOVED | LLViewerObject::MEDIA_URL_UPDATED)) - { - if (objectp->mDrawable.notNull()) - { - gPipeline.markTextured(objectp->mDrawable); - } - } - } } void LLViewerObjectList::processObjectUpdate(LLMessageSystem *mesgsys, |