diff options
Diffstat (limited to 'linden/indra/newview/llviewerregion.cpp')
-rw-r--r-- | linden/indra/newview/llviewerregion.cpp | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/linden/indra/newview/llviewerregion.cpp b/linden/indra/newview/llviewerregion.cpp index 08dc979..507481a 100644 --- a/linden/indra/newview/llviewerregion.cpp +++ b/linden/indra/newview/llviewerregion.cpp | |||
@@ -215,6 +215,7 @@ LLViewerRegion::LLViewerRegion(const U64 &handle, | |||
215 | mObjectPartition.push_back(new LLGrassPartition()); //PARTITION_GRASS | 215 | mObjectPartition.push_back(new LLGrassPartition()); //PARTITION_GRASS |
216 | mObjectPartition.push_back(new LLVolumePartition()); //PARTITION_VOLUME | 216 | mObjectPartition.push_back(new LLVolumePartition()); //PARTITION_VOLUME |
217 | mObjectPartition.push_back(new LLBridgePartition()); //PARTITION_BRIDGE | 217 | mObjectPartition.push_back(new LLBridgePartition()); //PARTITION_BRIDGE |
218 | mObjectPartition.push_back(new LLHUDParticlePartition());//PARTITION_HUD_PARTICLE | ||
218 | mObjectPartition.push_back(NULL); //PARTITION_NONE | 219 | mObjectPartition.push_back(NULL); //PARTITION_NONE |
219 | 220 | ||
220 | } | 221 | } |
@@ -1028,12 +1029,18 @@ void LLViewerRegion::updateCoarseLocations(LLMessageSystem* msg) | |||
1028 | msg->getS16Fast(_PREHASH_Index, _PREHASH_You, agent_index); | 1029 | msg->getS16Fast(_PREHASH_Index, _PREHASH_You, agent_index); |
1029 | msg->getS16Fast(_PREHASH_Index, _PREHASH_Prey, target_index); | 1030 | msg->getS16Fast(_PREHASH_Index, _PREHASH_Prey, target_index); |
1030 | 1031 | ||
1032 | BOOL has_agent_data = msg->has(_PREHASH_AgentData); | ||
1031 | S32 count = msg->getNumberOfBlocksFast(_PREHASH_Location); | 1033 | S32 count = msg->getNumberOfBlocksFast(_PREHASH_Location); |
1032 | for(S32 i = 0; i < count; i++) | 1034 | for(S32 i = 0; i < count; i++) |
1033 | { | 1035 | { |
1034 | msg->getU8Fast(_PREHASH_Location, _PREHASH_X, x_pos, i); | 1036 | msg->getU8Fast(_PREHASH_Location, _PREHASH_X, x_pos, i); |
1035 | msg->getU8Fast(_PREHASH_Location, _PREHASH_Y, y_pos, i); | 1037 | msg->getU8Fast(_PREHASH_Location, _PREHASH_Y, y_pos, i); |
1036 | msg->getU8Fast(_PREHASH_Location, _PREHASH_Z, z_pos, i); | 1038 | msg->getU8Fast(_PREHASH_Location, _PREHASH_Z, z_pos, i); |
1039 | LLUUID agent_id = LLUUID::null; | ||
1040 | if(has_agent_data) | ||
1041 | { | ||
1042 | msg->getUUIDFast(_PREHASH_AgentData, _PREHASH_AgentID, agent_id, i); | ||
1043 | } | ||
1037 | 1044 | ||
1038 | //llinfos << " object X: " << (S32)x_pos << " Y: " << (S32)y_pos | 1045 | //llinfos << " object X: " << (S32)x_pos << " Y: " << (S32)y_pos |
1039 | // << " Z: " << (S32)(z_pos * 4) | 1046 | // << " Z: " << (S32)(z_pos * 4) |
@@ -1059,6 +1066,10 @@ void LLViewerRegion::updateCoarseLocations(LLMessageSystem* msg) | |||
1059 | pos <<= 8; | 1066 | pos <<= 8; |
1060 | pos |= z_pos; | 1067 | pos |= z_pos; |
1061 | mMapAvatars.put(pos); | 1068 | mMapAvatars.put(pos); |
1069 | if(has_agent_data) | ||
1070 | { | ||
1071 | mMapAvatarIDs.put(agent_id); | ||
1072 | } | ||
1062 | } | 1073 | } |
1063 | } | 1074 | } |
1064 | } | 1075 | } |
@@ -1387,8 +1398,12 @@ void LLViewerRegion::setSeedCapability(const std::string& url) | |||
1387 | capabilityNames.append("DispatchRegionInfo"); | 1398 | capabilityNames.append("DispatchRegionInfo"); |
1388 | capabilityNames.append("EstateChangeInfo"); | 1399 | capabilityNames.append("EstateChangeInfo"); |
1389 | capabilityNames.append("EventQueueGet"); | 1400 | capabilityNames.append("EventQueueGet"); |
1390 | capabilityNames.append("FetchInventoryDescendents"); | 1401 | capabilityNames.append("FetchInventory"); |
1402 | capabilityNames.append("WebFetchInventoryDescendents"); | ||
1403 | capabilityNames.append("FetchLib"); | ||
1404 | capabilityNames.append("FetchLibDescendents"); | ||
1391 | capabilityNames.append("GroupProposalBallot"); | 1405 | capabilityNames.append("GroupProposalBallot"); |
1406 | capabilityNames.append("HomeLocation"); | ||
1392 | capabilityNames.append("MapLayer"); | 1407 | capabilityNames.append("MapLayer"); |
1393 | capabilityNames.append("MapLayerGod"); | 1408 | capabilityNames.append("MapLayerGod"); |
1394 | capabilityNames.append("NewFileAgentInventory"); | 1409 | capabilityNames.append("NewFileAgentInventory"); |