MAINT-2590 FIXED Linked HUDs attached directly from inworld are invisible
parent
028e9b998c
commit
5f288e837c
|
|
@ -1117,7 +1117,14 @@ LLSpatialPartition* LLDrawable::getSpatialPartition()
|
|||
retval = gPipeline.getSpatialPartition((LLViewerObject*) mVObjp);
|
||||
}
|
||||
else if (isRoot())
|
||||
{ //must be an active volume
|
||||
{
|
||||
if (mSpatialBridge && (mSpatialBridge->asPartition()->mPartitionType == LLViewerRegion::PARTITION_HUD) != mVObjp->isHUDAttachment())
|
||||
{
|
||||
// remove obsolete bridge
|
||||
mSpatialBridge->markDead();
|
||||
setSpatialBridge(NULL);
|
||||
}
|
||||
//must be an active volume
|
||||
if (!mSpatialBridge)
|
||||
{
|
||||
if (mVObjp->isHUDAttachment())
|
||||
|
|
|
|||
Loading…
Reference in New Issue