FIRE-11617: Import fix from Cron Stardust. - Verify that the area search floater was active before processing logic.

Cinders 2013-12-06 17:43:06 -07:00
parent 73dd6d1947
commit 338f4e2b78
1 changed files with 6 additions and 0 deletions

View File

@ -1053,6 +1053,12 @@ void FSAreaSearch::matchObject(FSObjectProperties& details, LLViewerObject* obje
// <FS:Cron> Allows the object costs to be updated on-the-fly so as to bypass the problem with the data being stale when first accessed.
void FSAreaSearch::updateObjectCosts(const LLUUID& object_id, F32 object_cost, F32 link_cost, F32 physics_cost, F32 link_physics_cost)
{
// This fuction is called by LLObjectCostResponder::result even if no floater has been created.
if (!(mInstance && mActive))
{
return;
}
LLScrollListCtrl* result_list = mPanelList->getResultList();
if (result_list)
{