mirror of
https://github.com/opensim/opensim.git
synced 2026-07-31 22:05:36 +08:00
Merge branch 'master' into vehicles
This commit is contained in:
@@ -863,7 +863,17 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
||||
World.Entities.TryGetValue(objecUUID, out SensedObject);
|
||||
|
||||
if (SensedObject == null)
|
||||
{
|
||||
IGroupsModule groups = World.RequestModuleInterface<IGroupsModule>();
|
||||
if (groups != null)
|
||||
{
|
||||
GroupRecord gr = groups.GetGroupRecord(objecUUID);
|
||||
if (gr != null)
|
||||
return gr.GroupName;
|
||||
}
|
||||
return String.Empty;
|
||||
}
|
||||
|
||||
return SensedObject.Name;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user