diff options
author | Justin Clark-Casey (justincc) | 2010-02-01 20:06:43 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-02-01 20:06:43 +0000 |
commit | 53a01dc42273b9252eb290187e87a47a898af86a (patch) | |
tree | 28e2e2d139c379667a6e6cb337fa9c2326a58b96 /OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |
parent | apply http://opensimulator.org/mantis/view.php?id=4486 (diff) | |
download | opensim-SC-53a01dc42273b9252eb290187e87a47a898af86a.zip opensim-SC-53a01dc42273b9252eb290187e87a47a898af86a.tar.gz opensim-SC-53a01dc42273b9252eb290187e87a47a898af86a.tar.bz2 opensim-SC-53a01dc42273b9252eb290187e87a47a898af86a.tar.xz |
Don't try to start attachment scripts or send updates if the attachment itself has been unsuccessful
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 11754ea..7df3e50 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2376,9 +2376,19 @@ namespace OpenSim.Region.Framework.Scenes | |||
2376 | } | 2376 | } |
2377 | } | 2377 | } |
2378 | 2378 | ||
2379 | public void AttachObject(IClientAPI controllingClient, uint localID, uint attachPoint, Quaternion rot, Vector3 pos, bool silent) | 2379 | /// <summary> |
2380 | /// Attach an object. | ||
2381 | /// </summary> | ||
2382 | /// <param name="controllingClient"></param> | ||
2383 | /// <param name="localID"></param> | ||
2384 | /// <param name="attachPoint"></param> | ||
2385 | /// <param name="rot"></param> | ||
2386 | /// <param name="pos"></param> | ||
2387 | /// <param name="silent"></param> | ||
2388 | /// <returns>true if the object was successfully attached, false otherwise</returns> | ||
2389 | public bool AttachObject(IClientAPI controllingClient, uint localID, uint attachPoint, Quaternion rot, Vector3 pos, bool silent) | ||
2380 | { | 2390 | { |
2381 | m_sceneGraph.AttachObject(controllingClient, localID, attachPoint, rot, pos, silent); | 2391 | return m_sceneGraph.AttachObject(controllingClient, localID, attachPoint, rot, pos, silent); |
2382 | } | 2392 | } |
2383 | 2393 | ||
2384 | public void AttachObject(IClientAPI remoteClient, uint AttachmentPt, UUID itemID, SceneObjectGroup att) | 2394 | public void AttachObject(IClientAPI remoteClient, uint AttachmentPt, UUID itemID, SceneObjectGroup att) |