diff options
Diffstat (limited to 'OpenSim/OpenSim.RegionServer')
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView.API.cs | 20 | ||||
-rw-r--r-- | OpenSim/OpenSim.RegionServer/ClientView.cs | 2 |
2 files changed, 21 insertions, 1 deletions
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.API.cs b/OpenSim/OpenSim.RegionServer/ClientView.API.cs index fe46fcb..780035c 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.API.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.API.cs | |||
@@ -425,6 +425,26 @@ namespace OpenSim | |||
425 | #region Primitive Packet/data Sending Methods | 425 | #region Primitive Packet/data Sending Methods |
426 | 426 | ||
427 | /// <summary> | 427 | /// <summary> |
428 | /// | ||
429 | /// </summary> | ||
430 | /// <param name="localID"></param> | ||
431 | /// <param name="rotation"></param> | ||
432 | /// <param name="attachPoint"></param> | ||
433 | public void AttachObject(uint localID, LLQuaternion rotation, byte attachPoint) | ||
434 | { | ||
435 | ObjectAttachPacket attach = new ObjectAttachPacket(); | ||
436 | attach.AgentData.AgentID = this.AgentID; | ||
437 | attach.AgentData.SessionID = this.SessionID; | ||
438 | attach.AgentData.AttachmentPoint = attachPoint; | ||
439 | attach.ObjectData = new ObjectAttachPacket.ObjectDataBlock[1]; | ||
440 | attach.ObjectData[0] = new ObjectAttachPacket.ObjectDataBlock(); | ||
441 | attach.ObjectData[0].ObjectLocalID = localID; | ||
442 | attach.ObjectData[0].Rotation = rotation; | ||
443 | |||
444 | this.OutPacket(attach); | ||
445 | } | ||
446 | |||
447 | /// <summary> | ||
428 | /// Sends a full ObjectUpdatePacket to a client to inform it of a new primitive | 448 | /// Sends a full ObjectUpdatePacket to a client to inform it of a new primitive |
429 | /// or big changes to a existing primitive. | 449 | /// or big changes to a existing primitive. |
430 | /// </summary> | 450 | /// </summary> |
diff --git a/OpenSim/OpenSim.RegionServer/ClientView.cs b/OpenSim/OpenSim.RegionServer/ClientView.cs index 809d3cf..f9a7fe4 100644 --- a/OpenSim/OpenSim.RegionServer/ClientView.cs +++ b/OpenSim/OpenSim.RegionServer/ClientView.cs | |||
@@ -69,7 +69,7 @@ namespace OpenSim | |||
69 | 69 | ||
70 | private AgentAssetUpload UploadAssets; | 70 | private AgentAssetUpload UploadAssets; |
71 | private LLUUID newAssetFolder = LLUUID.Zero; | 71 | private LLUUID newAssetFolder = LLUUID.Zero; |
72 | private bool debug = true; | 72 | private bool debug = false; |
73 | protected IWorld m_world; | 73 | protected IWorld m_world; |
74 | private Dictionary<uint, ClientView> m_clientThreads; | 74 | private Dictionary<uint, ClientView> m_clientThreads; |
75 | private AssetCache m_assetCache; | 75 | private AssetCache m_assetCache; |