Cull orphaned attachments from render. Maybe dead av's are lingering?
This commit is contained in:
@@ -1313,6 +1313,12 @@ void LLSpatialBridge::setVisible(LLCamera& camera_in, std::vector<LLDrawable*>*
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
static const LLCachedControl<bool> draw_orphans("ShyotlDrawOrphanAttachments",false);
|
||||
if(!draw_orphans)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1385,6 +1391,12 @@ void LLSpatialBridge::updateDistance(LLCamera& camera_in, bool force_update)
|
||||
return;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
static const LLCachedControl<bool> draw_orphans("ShyotlDrawOrphanAttachments",false);
|
||||
if(!draw_orphans)
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
LLCamera camera = transformCamera(camera_in);
|
||||
|
||||
Reference in New Issue
Block a user