diff options
| author | simon@Simon-PC.lindenlab.com <simon@Simon-PC.lindenlab.com> | 2012-07-17 13:53:17 -0700 | 
|---|---|---|
| committer | simon@Simon-PC.lindenlab.com <simon@Simon-PC.lindenlab.com> | 2012-07-17 13:53:17 -0700 | 
| commit | 2e3593236b393c61005b440ec95f12bda37855b4 (patch) | |
| tree | 8e42cecd4c8a686c02d67d9821ed2a0b8862b985 | |
| parent | 891af8055acc66364e7da009c74a6b6a91ea4663 (diff) | |
| parent | 407d227e25e292d37767bbf0406a0bd6846a2509 (diff) | |
merge
| -rw-r--r-- | indra/newview/llflexibleobject.cpp | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/indra/newview/llflexibleobject.cpp b/indra/newview/llflexibleobject.cpp index 06aac5f529..22c265cb8a 100644 --- a/indra/newview/llflexibleobject.cpp +++ b/indra/newview/llflexibleobject.cpp @@ -364,7 +364,7 @@ void LLVolumeImplFlexible::doIdleUpdate()  				if	(visible)  				{  					if (!drawablep->isState(LLDrawable::IN_REBUILD_Q1) && -					mVO->getPixelArea() > 256.f) +						pixel_area > 256.f)  					{  						U32 id; @@ -416,10 +416,11 @@ void LLVolumeImplFlexible::doFlexibleUpdate()  	LLPath *path = &volume->getPath();  	if ((mSimulateRes == 0 || !mInitialized) && mVO->mDrawable->isVisible())   	{ -		//mVO->markForUpdate(TRUE); +		BOOL force_update = mSimulateRes == 0 ? TRUE : FALSE; +  		doIdleUpdate(); -		if (mSimulateRes == 0) +		if (!force_update || !gPipeline.hasRenderDebugFeatureMask(LLPipeline::RENDER_DEBUG_FEATURE_FLEXIBLE))  		{  			return;	// we did not get updated or initialized, proceeding without can be dangerous  		} | 
