mirror of
https://github.com/FirestormViewer/phoenix-firestorm.git
synced 2026-08-14 08:53:53 +00:00
FIRE-31645 - restore original FS behavior for opensim
This commit is contained in:
@@ -236,7 +236,10 @@ void LLWorldMapMessage::processMapBlockReply(LLMessageSystem* msg, void**)
|
||||
U32 y_world = (U32)(y_regions) * REGION_WIDTH_UNITS;
|
||||
|
||||
// Name shouldn't be empty unless region doesn't exist
|
||||
if (!name.empty())
|
||||
// <AW: opensim>
|
||||
// if (!name.empty())
|
||||
if (!name.empty() || accesscode == 255)
|
||||
// </AW: opensim>
|
||||
{
|
||||
// Insert that region in the world map, if failure, flag it as a "null_sim"
|
||||
|
||||
@@ -269,6 +272,8 @@ void LLWorldMapMessage::processMapBlockReply(LLMessageSystem* msg, void**)
|
||||
LL_WARNS() << "MapBlockReply returned empty region name, not inserting in the world map" << LL_ENDL;
|
||||
continue;
|
||||
}
|
||||
|
||||
LLWorldMap::getInstance()->insertRegion(x_world, y_world, x_size, y_size, name, image_id, (U32)accesscode, region_flags);
|
||||
// </AW: opensim>
|
||||
found_null_sim = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user