Added auto avatar muting(appearance only) based on avatar complexity (disabled by default). Added several missing debug views.
This commit is contained in:
@@ -1081,6 +1081,7 @@ BOOL LLDrawable::isVisible() const
|
||||
LLSpatialBridge::LLSpatialBridge(LLDrawable* root, BOOL render_by_group, U32 data_mask)
|
||||
: LLSpatialPartition(data_mask, render_by_group, GL_STREAM_DRAW_ARB)
|
||||
{
|
||||
mBridge = this;
|
||||
mDrawable = root;
|
||||
root->setSpatialBridge(this);
|
||||
|
||||
@@ -1109,6 +1110,15 @@ LLSpatialBridge::~LLSpatialBridge()
|
||||
{
|
||||
group->mSpatialPartition->remove(this, group);
|
||||
}
|
||||
|
||||
//delete octree here so listeners will still be able to access bridge specific state
|
||||
destroyTree();
|
||||
}
|
||||
|
||||
void LLSpatialBridge::destroyTree()
|
||||
{
|
||||
delete mOctree;
|
||||
mOctree = NULL;
|
||||
}
|
||||
|
||||
void LLSpatialBridge::updateSpatialExtents()
|
||||
|
||||
Reference in New Issue
Block a user