diff options
Diffstat (limited to 'linden/indra/newview/llinventorymodel.cpp')
-rw-r--r-- | linden/indra/newview/llinventorymodel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llinventorymodel.cpp b/linden/indra/newview/llinventorymodel.cpp index c3392ce..9149658 100644 --- a/linden/indra/newview/llinventorymodel.cpp +++ b/linden/indra/newview/llinventorymodel.cpp | |||
@@ -1499,7 +1499,7 @@ void LLInventoryModel::stopBackgroundFetch() | |||
1499 | //static | 1499 | //static |
1500 | void LLInventoryModel::backgroundFetch(void*) | 1500 | void LLInventoryModel::backgroundFetch(void*) |
1501 | { | 1501 | { |
1502 | if (sBackgroundFetchActive) | 1502 | if (sBackgroundFetchActive && gAgent.getRegion()) |
1503 | { | 1503 | { |
1504 | //If we'll be using the capability, we'll be sending batches and the background thing isn't as important. | 1504 | //If we'll be using the capability, we'll be sending batches and the background thing isn't as important. |
1505 | std::string url = gAgent.getRegion()->getCapability("WebFetchInventoryDescendents"); | 1505 | std::string url = gAgent.getRegion()->getCapability("WebFetchInventoryDescendents"); |