Skip to content
Snippets Groups Projects
Commit 7aaca88e authored by Alexei Arabadji's avatar Alexei Arabadji
Browse files

EXT-4568 added assertion on receiving form server sim info with empty sim name.

--HG--
branch : product-engine
parent ebf78baa
No related branches found
No related tags found
No related merge requests found
......@@ -193,6 +193,9 @@ void LLWorldMapMessage::processMapBlockReply(LLMessageSystem* msg, void**)
U32 x_world = (U32)(x_regions) * REGION_WIDTH_UNITS;
U32 y_world = (U32)(y_regions) * REGION_WIDTH_UNITS;
// name shouldn't be empty, see EXT-4568
llassert(!name.empty());
// Insert that region in the world map, if failure, flag it as a "null_sim"
if (!(LLWorldMap::getInstance()->insertRegion(x_world, y_world, name, image_id, (U32)accesscode, region_flags)))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment