diff options
author | Justin Clarke Casey | 2007-12-24 22:35:01 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2007-12-24 22:35:01 +0000 |
commit | 280a5cba8b6ab1566b1f5d2dae96e2f8402c8ab4 (patch) | |
tree | 961f90ecf615e01e2263dacafec293ee66f1f1d0 /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Again, great thanks to Alondria for: (diff) | |
download | opensim-SC-280a5cba8b6ab1566b1f5d2dae96e2f8402c8ab4.zip opensim-SC-280a5cba8b6ab1566b1f5d2dae96e2f8402c8ab4.tar.gz opensim-SC-280a5cba8b6ab1566b1f5d2dae96e2f8402c8ab4.tar.bz2 opensim-SC-280a5cba8b6ab1566b1f5d2dae96e2f8402c8ab4.tar.xz |
Prim inventory script saving phase 1. Create necessary CAPS structures for correctly accepting prim inventory script updates.
No user functionality yet.
Refactoring to follow.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index cf17686..2a25316 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1350,10 +1350,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
1350 | agent.CapsPath, agent.AgentID, m_dumpAssetsToFile); | 1350 | agent.CapsPath, agent.AgentID, m_dumpAssetsToFile); |
1351 | 1351 | ||
1352 | Util.SetCapsURL(agent.AgentID, "http://" + m_regInfo.ExternalHostName + ":" + httpListener.Port.ToString() + | 1352 | Util.SetCapsURL(agent.AgentID, "http://" + m_regInfo.ExternalHostName + ":" + httpListener.Port.ToString() + |
1353 | "/CAPS/" + agent.CapsPath + "0000/"); | 1353 | "/CAPS/" + agent.CapsPath + "0000/"); |
1354 | cap.RegisterHandlers(); | 1354 | cap.RegisterHandlers(); |
1355 | |||
1355 | cap.AddNewInventoryItem = AddInventoryItem; | 1356 | cap.AddNewInventoryItem = AddInventoryItem; |
1356 | cap.ItemUpdatedCall = CapsUpdateInventoryItemAsset; | 1357 | cap.ItemUpdatedCall = CapsUpdateInventoryItemAsset; |
1358 | cap.TaskScriptUpdatedCall = CapsUpdateTaskInventoryScriptAsset; | ||
1359 | |||
1357 | if (m_capsHandlers.ContainsKey(agent.AgentID)) | 1360 | if (m_capsHandlers.ContainsKey(agent.AgentID)) |
1358 | { | 1361 | { |
1359 | //MainLog.Instance.Warn("client", "Adding duplicate CAPS entry for user " + | 1362 | //MainLog.Instance.Warn("client", "Adding duplicate CAPS entry for user " + |