aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-28 19:38:20 +0100
committerJustin Clark-Casey (justincc)2010-07-28 19:38:20 +0100
commitf067f733ea60cc821d51889871f1f8d476aebd76 (patch)
tree2bc9608c37dd5d19d2cf2b00280fb177e7d83625 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentrelocate moap specific cloning code to MoapModule (diff)
downloadopensim-SC_OLD-f067f733ea60cc821d51889871f1f8d476aebd76.zip
opensim-SC_OLD-f067f733ea60cc821d51889871f1f8d476aebd76.tar.gz
opensim-SC_OLD-f067f733ea60cc821d51889871f1f8d476aebd76.tar.bz2
opensim-SC_OLD-f067f733ea60cc821d51889871f1f8d476aebd76.tar.xz
add userExposed parameter to part copy event
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 71ca605..32332f7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1554,6 +1554,11 @@ namespace OpenSim.Region.Framework.Scenes
1554 /// <summary> 1554 /// <summary>
1555 /// Duplicates this part. 1555 /// Duplicates this part.
1556 /// </summary> 1556 /// </summary>
1557 /// <param name="localID"></param>
1558 /// <param name="AgentID"></param>
1559 /// <param name="GroupID"></param>
1560 /// <param name="linkNum"></param>
1561 /// <param name="userExposed">True if the duplicate will immediately be in the scene, false otherwise</param>
1557 /// <returns></returns> 1562 /// <returns></returns>
1558 public SceneObjectPart Copy(uint localID, UUID AgentID, UUID GroupID, int linkNum, bool userExposed) 1563 public SceneObjectPart Copy(uint localID, UUID AgentID, UUID GroupID, int linkNum, bool userExposed)
1559 { 1564 {
@@ -1617,7 +1622,7 @@ namespace OpenSim.Region.Framework.Scenes
1617 dupe.DoPhysicsPropertyUpdate(UsePhysics, true); 1622 dupe.DoPhysicsPropertyUpdate(UsePhysics, true);
1618 } 1623 }
1619 1624
1620 ParentGroup.Scene.EventManager.TriggerOnSceneObjectPartCopy(dupe, this); 1625 ParentGroup.Scene.EventManager.TriggerOnSceneObjectPartCopy(dupe, this, userExposed);
1621 1626
1622// m_log.DebugFormat("[SCENE OBJECT PART]: Clone of {0} {1} finished", Name, UUID); 1627// m_log.DebugFormat("[SCENE OBJECT PART]: Clone of {0} {1} finished", Name, UUID);
1623 1628