diff options
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index aecca27..17563bd 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -343,6 +343,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
343 | /// </summary> | 343 | /// </summary> |
344 | /// | 344 | /// |
345 | /// This method does not send updates to the client - callers need to handle this themselves. | 345 | /// This method does not send updates to the client - callers need to handle this themselves. |
346 | /// Caller should also trigger EventManager.TriggerObjectAddedToScene | ||
346 | /// <param name="sceneObject"></param> | 347 | /// <param name="sceneObject"></param> |
347 | /// <param name="attachToBackup"></param> | 348 | /// <param name="attachToBackup"></param> |
348 | /// <param name="pos">Position of the object. If null then the position stored in the object is used.</param> | 349 | /// <param name="pos">Position of the object. If null then the position stored in the object is used.</param> |
@@ -1002,7 +1003,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1002 | /// </summary> | 1003 | /// </summary> |
1003 | /// <param name="fullID"></param> | 1004 | /// <param name="fullID"></param> |
1004 | /// <returns>null if no scene object group containing that prim is found</returns> | 1005 | /// <returns>null if no scene object group containing that prim is found</returns> |
1005 | private SceneObjectGroup GetGroupByPrim(UUID fullID) | 1006 | public SceneObjectGroup GetGroupByPrim(UUID fullID) |
1006 | { | 1007 | { |
1007 | SceneObjectGroup sog; | 1008 | SceneObjectGroup sog; |
1008 | lock (SceneObjectGroupsByFullPartID) | 1009 | lock (SceneObjectGroupsByFullPartID) |
@@ -1993,22 +1994,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
1993 | } | 1994 | } |
1994 | 1995 | ||
1995 | /// <summary> | 1996 | /// <summary> |
1996 | /// Duplicate the given object, Fire and Forget, No rotation, no return wrapper | ||
1997 | /// </summary> | ||
1998 | /// <param name="originalPrim"></param> | ||
1999 | /// <param name="offset"></param> | ||
2000 | /// <param name="flags"></param> | ||
2001 | /// <param name="AgentID"></param> | ||
2002 | /// <param name="GroupID"></param> | ||
2003 | protected internal void DuplicateObject(uint originalPrim, Vector3 offset, uint flags, UUID AgentID, UUID GroupID) | ||
2004 | { | ||
2005 | //m_log.DebugFormat("[SCENE]: Duplication of object {0} at offset {1} requested by agent {2}", originalPrim, offset, AgentID); | ||
2006 | |||
2007 | // SceneObjectGroup dupe = DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); | ||
2008 | DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Identity); | ||
2009 | } | ||
2010 | |||
2011 | /// <summary> | ||
2012 | /// Duplicate the given object. | 1997 | /// Duplicate the given object. |
2013 | /// </summary> | 1998 | /// </summary> |
2014 | /// <param name="originalPrim"></param> | 1999 | /// <param name="originalPrim"></param> |