mirror of
https://github.com/opensim/opensim.git
synced 2026-08-12 04:05:42 +08:00
Merge branch 'avination' into careminster
This commit is contained in:
@@ -2952,6 +2952,13 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
SubscribeToClientEvents(client);
|
||||
|
||||
sp = m_sceneGraph.CreateAndAddChildScenePresence(client, aCircuit.Appearance, type);
|
||||
InventoryFolderBase cof = InventoryService.GetFolderForType(client.AgentId, (AssetType)46);
|
||||
if (cof == null)
|
||||
sp.COF = UUID.Zero;
|
||||
else
|
||||
sp.COF = cof.ID;
|
||||
|
||||
m_log.DebugFormat("[SCENE]: COF for {0} is {1}", client.AgentId, sp.COF);
|
||||
m_eventManager.TriggerOnNewPresence(sp);
|
||||
|
||||
sp.TeleportFlags = (TPFlags)aCircuit.teleportFlags;
|
||||
|
||||
@@ -441,6 +441,8 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
get { return (IClientCore)ControllingClient; }
|
||||
}
|
||||
|
||||
public UUID COF { get; set; }
|
||||
|
||||
// public Vector3 ParentPosition { get; set; }
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user