FIRE-11617: Import fix from Cron Stardust. - Verify that the area search floater was active before processing logic.
parent
73dd6d1947
commit
338f4e2b78
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue