diff options
author | Charles Krinke | 2009-04-19 00:11:14 +0000 |
---|---|---|
committer | Charles Krinke | 2009-04-19 00:11:14 +0000 |
commit | a416e75ddba9de7448c00ecb88cb2f1a1949dac2 (patch) | |
tree | 32b39c6cc4f82689b0b0ffb5ed0b8f875c534a03 /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | |
parent | Bug fix in HG asset posts. Get the inner assets not just from mem cache but f... (diff) | |
download | opensim-SC-a416e75ddba9de7448c00ecb88cb2f1a1949dac2.zip opensim-SC-a416e75ddba9de7448c00ecb88cb2f1a1949dac2.tar.gz opensim-SC-a416e75ddba9de7448c00ecb88cb2f1a1949dac2.tar.bz2 opensim-SC-a416e75ddba9de7448c00ecb88cb2f1a1949dac2.tar.xz |
Thank you kindly, MCortez, for a patch that:
This hooks up the LandManagementModule to handle the DeedParcelToGroup
packet. Now people can start testing land assigned to and owned by groups.
Also fixes a viewer crash issue when searching for and then joining a group
with an agent that is not already being tracked by groups server.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs index 6252d56..5ebab65 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs | |||
@@ -552,7 +552,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
552 | { | 552 | { |
553 | GroupTitlesData title = new GroupTitlesData(); | 553 | GroupTitlesData title = new GroupTitlesData(); |
554 | title.Name = role.Name; | 554 | title.Name = role.Name; |
555 | title.Selected = agentMembership.ActiveRole == role.RoleID; | 555 | if (agentMembership != null) |
556 | { | ||
557 | title.Selected = agentMembership.ActiveRole == role.RoleID; | ||
558 | } | ||
556 | title.UUID = role.RoleID; | 559 | title.UUID = role.RoleID; |
557 | } | 560 | } |
558 | 561 | ||