mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
add sop getownername so group owned case is handle correctly
This commit is contained in:
@@ -5503,7 +5503,7 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
{
|
||||
lock (ParentGroup.m_sittingAvatars)
|
||||
{
|
||||
if (SitTargetAvatar == sp.UUID)
|
||||
if (SitTargetAvatar.Equals(sp.UUID))
|
||||
SitTargetAvatar = UUID.Zero;
|
||||
|
||||
if (m_sittingAvatars == null)
|
||||
@@ -5809,5 +5809,14 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
Animations = null;
|
||||
AnimationsNames = null;
|
||||
}
|
||||
|
||||
public bool GetOwnerName(out string FirstName, out string LastName)
|
||||
{
|
||||
if(ParentGroup != null)
|
||||
return ParentGroup.GetOwnerName(out FirstName, out LastName);
|
||||
FirstName = string.Empty;
|
||||
LastName = string.Empty;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user