summaryrefslogtreecommitdiff
path: root/indra/newview/llpathfindingnavmesh.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2025-12-03 19:33:47 +0200
committerAndrey Lihatskiy <alihatskiy@productengine.com>2025-12-03 19:33:47 +0200
commit29518cdf4a9e3c9ee214d358bcc1e8f1c3fd6c93 (patch)
treee5441660615f1cd49a3c62f6f24f3040e8df35a1 /indra/newview/llpathfindingnavmesh.cpp
parent44143786ad54d7ebfee6442a92f1c49ff570e94a (diff)
parentb49400e0882a80dd2972a31cde2152ba979b2ce4 (diff)
Merge branch 'develop-linux' into marchcat/slua-linux
Diffstat (limited to 'indra/newview/llpathfindingnavmesh.cpp')
-rw-r--r--indra/newview/llpathfindingnavmesh.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llpathfindingnavmesh.cpp b/indra/newview/llpathfindingnavmesh.cpp
index c9fbeba2f3..5bb33a65f2 100644
--- a/indra/newview/llpathfindingnavmesh.cpp
+++ b/indra/newview/llpathfindingnavmesh.cpp
@@ -139,7 +139,8 @@ void LLPathfindingNavMesh::handleNavMeshResult(const LLSD &pContent, U32 pNavMes
ENavMeshRequestStatus status;
if ( pContent.has(NAVMESH_DATA_FIELD) )
{
- const LLSD::Binary &value = pContent.get(NAVMESH_DATA_FIELD).asBinary();
+ LLSD nav_data = pContent.get(NAVMESH_DATA_FIELD);
+ const LLSD::Binary& value = nav_data.asBinary();
auto binSize = value.size();
std::string newStr(reinterpret_cast<const char *>(&value[0]), binSize);
std::istringstream streamdecomp( newStr );