Crashfix for LL's recent changes to flexi updating. May revert entire changeset if more oddities are found.

This commit is contained in:
Shyotl
2011-05-21 00:14:46 -05:00
parent 127dd659fa
commit 0785d392e3

View File

@@ -366,8 +366,10 @@ void LLVolumeImplFlexible::doFlexibleUpdate()
{
LLVolume* volume = mVO->getVolume();
LLPath *path = &volume->getPath();
if ((mSimulateRes == 0 || !mInitialized) && mVO->mDrawable->isVisible()) // if its uninitialized but not visible, what then? - Nyx
if ((mSimulateRes == 0 || !mInitialized)) // if its uninitialized but not visible, what then? - Nyx
{
if(!mVO->mDrawable->isVisible())
return; //avoiding the assert below...
mVO->markForUpdate(TRUE);
if (!doIdleUpdate(gAgent, *LLWorld::getInstance(), 0.0))
{