diff options
author | Melanie | 2010-11-24 18:56:25 +0100 |
---|---|---|
committer | Melanie | 2010-11-24 18:56:25 +0100 |
commit | b3a71c6df1538c61247f7d4711aba4c840508db8 (patch) | |
tree | 2089c5b109ec504b16feea0ea44911f7d77fd849 /OpenSim/Region/OptionalModules/Avatar | |
parent | Prevent a dump in the llGetLinkKey method when using LINK_ROOT in a single prim (diff) | |
download | opensim-SC-b3a71c6df1538c61247f7d4711aba4c840508db8.zip opensim-SC-b3a71c6df1538c61247f7d4711aba4c840508db8.tar.gz opensim-SC-b3a71c6df1538c61247f7d4711aba4c840508db8.tar.bz2 opensim-SC-b3a71c6df1538c61247f7d4711aba4c840508db8.tar.xz |
Prevent an overlength button label from producing a debug dump and aborting
the script.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index 0c8113e..ccf5289 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -1173,10 +1173,13 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
1173 | presence = scene.GetScenePresence(AgentID); | 1173 | presence = scene.GetScenePresence(AgentID); |
1174 | if (presence != null) | 1174 | if (presence != null) |
1175 | { | 1175 | { |
1176 | presence.Grouptitle = Title; | 1176 | if (presence.Grouptitle != Title) |
1177 | { | ||
1178 | presence.Grouptitle = Title; | ||
1177 | 1179 | ||
1178 | // FixMe: Ter suggests a "Schedule" method that I can't find. | 1180 | if (! presence.IsChildAgent) |
1179 | presence.SendFullUpdateToAllClients(); | 1181 | presence.SendAvatarDataToAllAgents(); |
1182 | } | ||
1180 | } | 1183 | } |
1181 | } | 1184 | } |
1182 | } | 1185 | } |