Alexei Arabadji  committed 0f0c288

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

  • Participants
  • Parent commits 62536b4
  • Branches product-engine

Comments (0)

Files changed (1)

File indra/newview/llworldmapmessage.cpp

 		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)))