mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
ObjectAddedToScene event should be fired when duplicating objects
This commit is contained in:
@@ -1872,22 +1872,6 @@ namespace OpenSim.Region.Framework.Scenes
|
||||
#pragma warning restore 0612
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Duplicate the given object, Fire and Forget, No rotation, no return wrapper
|
||||
/// </summary>
|
||||
/// <param name="originalPrim"></param>
|
||||
/// <param name="offset"></param>
|
||||
/// <param name="flags"></param>
|
||||
/// <param name="AgentID"></param>
|
||||
/// <param name="GroupID"></param>
|
||||
protected internal void DuplicateObject(uint originalPrim, Vector3 offset, uint flags, UUID AgentID, UUID GroupID)
|
||||
{
|
||||
//m_log.DebugFormat("[SCENE]: Duplication of object {0} at offset {1} requested by agent {2}", originalPrim, offset, AgentID);
|
||||
|
||||
// SceneObjectGroup dupe = DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero);
|
||||
DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Identity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Duplicate the given object.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user