Crashfix for LL's recent changes to flexi updating. May revert entire changeset if more oddities are found.
This commit is contained in:
@@ -366,8 +366,10 @@ void LLVolumeImplFlexible::doFlexibleUpdate()
|
|||||||
{
|
{
|
||||||
LLVolume* volume = mVO->getVolume();
|
LLVolume* volume = mVO->getVolume();
|
||||||
LLPath *path = &volume->getPath();
|
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);
|
mVO->markForUpdate(TRUE);
|
||||||
if (!doIdleUpdate(gAgent, *LLWorld::getInstance(), 0.0))
|
if (!doIdleUpdate(gAgent, *LLWorld::getInstance(), 0.0))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user