diff options
| author | Oz Linden <oz@lindenlab.com> | 2013-05-10 14:56:28 -0400 | 
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2013-05-10 14:56:28 -0400 | 
| commit | d47a436815a43e4c55fd9fc60aa3876a9d7f815f (patch) | |
| tree | 75076370fb60ab57a169a8d3ea492a04fd87b24e /indra | |
| parent | da343188ff07bcfc86b3d72a93f327be4f2607e2 (diff) | |
| parent | 4dd245055f3417d8f8fb611a198ed5671dbce292 (diff) | |
merge changes for 3.5.2-beta5
Diffstat (limited to 'indra')
| -rwxr-xr-x | indra/newview/lldrawable.h | 1 | ||||
| -rwxr-xr-x | indra/newview/llviewerobject.cpp | 3 | ||||
| -rwxr-xr-x | indra/newview/llviewerobjectlist.cpp | 3 | ||||
| -rwxr-xr-x | indra/newview/pipeline.cpp | 5 | 
4 files changed, 4 insertions, 8 deletions
| diff --git a/indra/newview/lldrawable.h b/indra/newview/lldrawable.h index 289abd3335..c3f6d77edc 100755 --- a/indra/newview/lldrawable.h +++ b/indra/newview/lldrawable.h @@ -286,7 +286,6 @@ public:   		NEARBY_LIGHT	= 0x00200000, // In gPipeline.mNearbyLightSet  		BUILT			= 0x00400000,  		FORCE_INVISIBLE = 0x00800000, // stay invis until CLEAR_INVISIBLE is set (set of orphaned) -		CLEAR_INVISIBLE = 0x01000000, // clear FORCE_INVISIBLE next draw frame  		REBUILD_SHADOW =  0x02000000,  		HAS_ALPHA		= 0x04000000,  		RIGGED			= 0x08000000, diff --git a/indra/newview/llviewerobject.cpp b/indra/newview/llviewerobject.cpp index 96e701a6cb..25b97b104b 100755 --- a/indra/newview/llviewerobject.cpp +++ b/indra/newview/llviewerobject.cpp @@ -2135,7 +2135,8 @@ U32 LLViewerObject::processUpdateMessage(LLMessageSystem *mesgsys,  		if (mDrawable->isState(LLDrawable::FORCE_INVISIBLE) && !mOrphaned)  		{  // 			lldebugs << "Clearing force invisible: " << mID << ":" << getPCodeString() << ":" << getPositionAgent() << llendl; -			mDrawable->setState(LLDrawable::CLEAR_INVISIBLE); +			mDrawable->clearState(LLDrawable::FORCE_INVISIBLE); +			gPipeline.markRebuild( mDrawable, LLDrawable::REBUILD_ALL, TRUE );  		}  	} diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp index 11d34ad084..caacf26cb3 100755 --- a/indra/newview/llviewerobjectlist.cpp +++ b/indra/newview/llviewerobjectlist.cpp @@ -2065,8 +2065,9 @@ void LLViewerObjectList::findOrphans(LLViewerObject* objectp, U32 ip, U32 port)  			if (childp->mDrawable.notNull())  			{  				// Make the drawable visible again and set the drawable parent - 				childp->mDrawable->setState(LLDrawable::CLEAR_INVISIBLE); +				childp->mDrawable->clearState(LLDrawable::FORCE_INVISIBLE);  				childp->setDrawableParent(objectp->mDrawable); // LLViewerObjectList::findOrphans() +				gPipeline.markRebuild( childp->mDrawable, LLDrawable::REBUILD_ALL, TRUE );  			}  			// Make certain particles, icon and HUD aren't hidden diff --git a/indra/newview/pipeline.cpp b/indra/newview/pipeline.cpp index 49ea4830d3..42a47c694f 100755 --- a/indra/newview/pipeline.cpp +++ b/indra/newview/pipeline.cpp @@ -3397,11 +3397,6 @@ void LLPipeline::stateSort(LLDrawable* drawablep, LLCamera& camera)  		{  			drawablep->setVisible(camera, NULL, FALSE);  		} -		else if (drawablep->isState(LLDrawable::CLEAR_INVISIBLE)) -		{ -			// clear invisible flag here to avoid single frame glitch -			drawablep->clearState(LLDrawable::FORCE_INVISIBLE|LLDrawable::CLEAR_INVISIBLE); -		}  	}  	if (LLViewerCamera::sCurCameraID == LLViewerCamera::CAMERA_WORLD) | 
