aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2010-07-28 19:23:30 +0100
committerJustin Clark-Casey (justincc)2010-07-28 19:23:30 +0100
commit0f15ccb2cf994c64fb8c7f71a64721a3e5fe3085 (patch)
tree152db712bfc35a161851f870506eb55c5006f2a4 /OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
parentFix problem where changes to media textures for prims duplicated by shify cop... (diff)
downloadopensim-SC-0f15ccb2cf994c64fb8c7f71a64721a3e5fe3085.zip
opensim-SC-0f15ccb2cf994c64fb8c7f71a64721a3e5fe3085.tar.gz
opensim-SC-0f15ccb2cf994c64fb8c7f71a64721a3e5fe3085.tar.bz2
opensim-SC-0f15ccb2cf994c64fb8c7f71a64721a3e5fe3085.tar.xz
relocate moap specific cloning code to MoapModule
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectPart.cs15
1 files changed, 1 insertions, 14 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
index 085da19..71ca605 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
@@ -1617,20 +1617,7 @@ namespace OpenSim.Region.Framework.Scenes
1617 dupe.DoPhysicsPropertyUpdate(UsePhysics, true); 1617 dupe.DoPhysicsPropertyUpdate(UsePhysics, true);
1618 } 1618 }
1619 1619
1620 if (Shape.Media != null) 1620 ParentGroup.Scene.EventManager.TriggerOnSceneObjectPartCopy(dupe, this);
1621 {
1622 List<MediaEntry> dupeMedia = new List<MediaEntry>();
1623
1624 foreach (MediaEntry me in Shape.Media)
1625 {
1626 if (me != null)
1627 dupeMedia.Add(MediaEntry.FromOSD(me.GetOSD()));
1628 else
1629 dupeMedia.Add(null);
1630 }
1631
1632 dupe.Shape.Media = dupeMedia;
1633 }
1634 1621
1635// m_log.DebugFormat("[SCENE OBJECT PART]: Clone of {0} {1} finished", Name, UUID); 1622// m_log.DebugFormat("[SCENE OBJECT PART]: Clone of {0} {1} finished", Name, UUID);
1636 1623