aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework
diff options
context:
space:
mode:
authorMelanie2013-02-06 04:03:32 +0100
committerMelanie2013-02-06 04:03:32 +0100
commit598f891d703593bde4b96472b5d1b1ce6aaf4c74 (patch)
treeca8d7bebec807f9cdf0cc81a353f3b685b6ccb9c /OpenSim/Region/Framework
parentMake scripts shout a error but not stop when button count is overrun on llDialog (diff)
downloadopensim-SC_OLD-598f891d703593bde4b96472b5d1b1ce6aaf4c74.zip
opensim-SC_OLD-598f891d703593bde4b96472b5d1b1ce6aaf4c74.tar.gz
opensim-SC_OLD-598f891d703593bde4b96472b5d1b1ce6aaf4c74.tar.bz2
opensim-SC_OLD-598f891d703593bde4b96472b5d1b1ce6aaf4c74.tar.xz
Move SoubleQueu to Util. Change HTTP inv to prioritize COF. Determine COF for SP
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
-rw-r--r--OpenSim/Region/Framework/Scenes/ScenePresence.cs2
2 files changed, 9 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index c7a38f7..e58aadc 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -2970,6 +2970,13 @@ namespace OpenSim.Region.Framework.Scenes
2970 SubscribeToClientEvents(client); 2970 SubscribeToClientEvents(client);
2971 2971
2972 sp = m_sceneGraph.CreateAndAddChildScenePresence(client, aCircuit.Appearance, type); 2972 sp = m_sceneGraph.CreateAndAddChildScenePresence(client, aCircuit.Appearance, type);
2973 InventoryFolderBase cof = InventoryService.GetFolderForType(client.AgentId, (AssetType)46);
2974 if (cof == null)
2975 sp.COF = UUID.Zero;
2976 else
2977 sp.COF = cof.ID;
2978
2979 m_log.DebugFormat("[SCENE]: COF for {0} is {1}", client.AgentId, sp.COF);
2973 m_eventManager.TriggerOnNewPresence(sp); 2980 m_eventManager.TriggerOnNewPresence(sp);
2974 2981
2975 sp.TeleportFlags = (TPFlags)aCircuit.teleportFlags; 2982 sp.TeleportFlags = (TPFlags)aCircuit.teleportFlags;
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
index 471caa2..91f9c0b 100644
--- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs
+++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs
@@ -443,6 +443,8 @@ namespace OpenSim.Region.Framework.Scenes
443 get { return (IClientCore)ControllingClient; } 443 get { return (IClientCore)ControllingClient; }
444 } 444 }
445 445
446 public UUID COF { get; set; }
447
446// public Vector3 ParentPosition { get; set; } 448// public Vector3 ParentPosition { get; set; }
447 449
448 /// <summary> 450 /// <summary>