diff options
author | Melanie | 2013-02-07 21:26:55 +0000 |
---|---|---|
committer | Melanie | 2013-02-07 21:26:55 +0000 |
commit | 8b78b9429d049d1b18a15d3f558e241c785ae5b3 (patch) | |
tree | 7b0c8fec3c6fbb04ab60f9402df8013333155cb3 /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Rename Bounciness to Restitution (diff) | |
download | opensim-SC_OLD-8b78b9429d049d1b18a15d3f558e241c785ae5b3.zip opensim-SC_OLD-8b78b9429d049d1b18a15d3f558e241c785ae5b3.tar.gz opensim-SC_OLD-8b78b9429d049d1b18a15d3f558e241c785ae5b3.tar.bz2 opensim-SC_OLD-8b78b9429d049d1b18a15d3f558e241c785ae5b3.tar.xz |
Merge branch 'avination' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 7 | ||||
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index ce055d3..c757147 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2952,6 +2952,13 @@ namespace OpenSim.Region.Framework.Scenes | |||
2952 | SubscribeToClientEvents(client); | 2952 | SubscribeToClientEvents(client); |
2953 | 2953 | ||
2954 | sp = m_sceneGraph.CreateAndAddChildScenePresence(client, aCircuit.Appearance, type); | 2954 | sp = m_sceneGraph.CreateAndAddChildScenePresence(client, aCircuit.Appearance, type); |
2955 | InventoryFolderBase cof = InventoryService.GetFolderForType(client.AgentId, (AssetType)46); | ||
2956 | if (cof == null) | ||
2957 | sp.COF = UUID.Zero; | ||
2958 | else | ||
2959 | sp.COF = cof.ID; | ||
2960 | |||
2961 | m_log.DebugFormat("[SCENE]: COF for {0} is {1}", client.AgentId, sp.COF); | ||
2955 | m_eventManager.TriggerOnNewPresence(sp); | 2962 | m_eventManager.TriggerOnNewPresence(sp); |
2956 | 2963 | ||
2957 | sp.TeleportFlags = (TPFlags)aCircuit.teleportFlags; | 2964 | sp.TeleportFlags = (TPFlags)aCircuit.teleportFlags; |
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index c352465..0bcf480 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -441,6 +441,8 @@ namespace OpenSim.Region.Framework.Scenes | |||
441 | get { return (IClientCore)ControllingClient; } | 441 | get { return (IClientCore)ControllingClient; } |
442 | } | 442 | } |
443 | 443 | ||
444 | public UUID COF { get; set; } | ||
445 | |||
444 | // public Vector3 ParentPosition { get; set; } | 446 | // public Vector3 ParentPosition { get; set; } |
445 | 447 | ||
446 | /// <summary> | 448 | /// <summary> |