MAINT-1270: Fix for some flexi prims becoming flat at some LoDs. https://bitbucket.org/davep/viewer-development/changeset/47f0d08ba7ad
This commit is contained in:
@@ -368,10 +368,11 @@ void LLVolumeImplFlexible::doFlexibleUpdate()
|
|||||||
LLPath *path = &volume->getPath();
|
LLPath *path = &volume->getPath();
|
||||||
if ((mSimulateRes == 0 || !mInitialized) && mVO->mDrawable->isVisible())
|
if ((mSimulateRes == 0 || !mInitialized) && mVO->mDrawable->isVisible())
|
||||||
{
|
{
|
||||||
//mVO->markForUpdate(TRUE);
|
BOOL force_update = mSimulateRes == 0 ? TRUE : FALSE;
|
||||||
|
|
||||||
doIdleUpdate(gAgent, *LLWorld::getInstance(), 0.0);
|
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
|
return; // we did not get updated or initialized, proceeding without can be dangerous
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user