diff --git a/indra/newview/llfloaterscriptlimits.cpp b/indra/newview/llfloaterscriptlimits.cpp index f171a3143..70022a6e2 100644 --- a/indra/newview/llfloaterscriptlimits.cpp +++ b/indra/newview/llfloaterscriptlimits.cpp @@ -884,6 +884,11 @@ BOOL LLPanelScriptLimitsRegionMemory::StartRequestChain() } LLParcel* parcel = instance->getCurrentSelectedParcel(); LLViewerRegion* region = LLViewerParcelMgr::getInstance()->getSelectionRegion(); + if (!parcel) //Pretend we have the parcel we're on selected. + { + parcel = LLViewerParcelMgr::getInstance()->getAgentParcel(); + region = gAgent.getRegion(); + } LLUUID current_region_id = gAgent.getRegion()->getRegionID();