aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/ScenePresence.cs
diff options
context:
space:
mode:
authorteravus2012-12-21 19:12:30 -0500
committerteravus2012-12-21 19:12:30 -0500
commit77cc7ce399d1b1a710f3b3f4337932febdef66c8 (patch)
treef121911c3679fea2065d519c879737200481616d /OpenSim/Region/Framework/Scenes/ScenePresence.cs
parent* Send an Unsolicited AgentDataUpdate packet upon Root Agent Status to synchr... (diff)
downloadopensim-SC-77cc7ce399d1b1a710f3b3f4337932febdef66c8.zip
opensim-SC-77cc7ce399d1b1a710f3b3f4337932febdef66c8.tar.gz
opensim-SC-77cc7ce399d1b1a710f3b3f4337932febdef66c8.tar.bz2
opensim-SC-77cc7ce399d1b1a710f3b3f4337932febdef66c8.tar.xz
* Partial Commit for Avatar Appearance to include the functionality of Cached Bakes.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/ScenePresence.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs27
1 files changed, 17 insertions, 10 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 70e7af5..ff9df37 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -931,18 +931,25 @@ namespace OpenSim.Region.Framework.Scenes
931 931
932 // ---------------------------------- 932 // ----------------------------------
933 // Previous Agent Difference - AGNI sends an unsolicited AgentDataUpdate upon root agent status 933 // Previous Agent Difference - AGNI sends an unsolicited AgentDataUpdate upon root agent status
934 if (gm != null) 934 try
935 {
936 if (gm != null)
937 {
938 groupUUID = ControllingClient.ActiveGroupId;
939 GroupRecord record = gm.GetGroupRecord(groupUUID);
940 if (record != null)
941 GroupName = record.GroupName;
942 GroupMembershipData groupMembershipData = gm.GetMembershipData(groupUUID, m_uuid);
943 if (groupMembershipData != null)
944 groupPowers = groupMembershipData.GroupPowers;
945 }
946 ControllingClient.SendAgentDataUpdate(m_uuid, groupUUID, Firstname, Lastname, groupPowers, GroupName,
947 Grouptitle);
948 }
949 catch (Exception e)
935 { 950 {
936 groupUUID = ControllingClient.ActiveGroupId; 951 m_log.Debug("[AGENTUPDATE]: " + e.ToString());
937 GroupRecord record = gm.GetGroupRecord(groupUUID);
938 if (record != null)
939 GroupName = record.GroupName;
940 GroupMembershipData groupMembershipData = gm.GetMembershipData(groupUUID, m_uuid);
941 if (groupMembershipData != null)
942 groupPowers = groupMembershipData.GroupPowers;
943 } 952 }
944 ControllingClient.SendAgentDataUpdate(m_uuid, groupUUID, Firstname, Lastname, groupPowers, GroupName,
945 Grouptitle);
946 // ------------------------------------ 953 // ------------------------------------
947 954
948 if (ParentID == 0) 955 if (ParentID == 0)