diff options
author | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-10-09 17:41:01 +0300 |
---|---|---|
committer | Mnikolenko Productengine <mnikolenko@productengine.com> | 2017-10-09 17:41:01 +0300 |
commit | 1baa1e6d4da09daa9e1314b643df45028fb47175 (patch) | |
tree | 5772add973f4797fa57a761224e81a42efd70119 /indra/newview | |
parent | 7d393759bae8028be8e2ca2d9e09b7b90a0d9ed5 (diff) |
MAINT-7882 Crash in LLVOAvatar::logMetricsTimerRecord(...)
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llvoavatar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoavatar.cpp b/indra/newview/llvoavatar.cpp index efcdb07176..cc708ea275 100644 --- a/indra/newview/llvoavatar.cpp +++ b/indra/newview/llvoavatar.cpp @@ -7025,7 +7025,7 @@ void LLVOAvatar::logMetricsTimerRecord(const std::string& phase_name, F32 elapse record["elapsed"] = elapsed; record["completed"] = completed; U32 grid_x(0), grid_y(0); - if (getRegion()) + if (getRegion() && LLWorld::instance().isRegionListed(getRegion())) { record["central_bake_version"] = LLSD::Integer(getRegion()->getCentralBakeVersion()); grid_from_region_handle(getRegion()->getHandle(), &grid_x, &grid_y); |