MAINT-1270 Fix for some flexi prims becoming flat at some LoDs
parent
509408f393
commit
e3c5cf99f1
|
|
@ -368,10 +368,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(gAgent, *LLWorld::getInstance(), 0.0);
|
||||
|
||||
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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue