diff options
author | Justin Clarke Casey | 2009-02-03 17:50:25 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-02-03 17:50:25 +0000 |
commit | a9e76ce8470062f7e9a1de3a314fd37e675e25a9 (patch) | |
tree | ee5cd26fe3f8fea8249b09c54edd1f1400b1c963 /OpenSim/Region/Environment/Scenes/SceneGraph.cs | |
parent | * Fixes mantis #3070 (diff) | |
download | opensim-SC_OLD-a9e76ce8470062f7e9a1de3a314fd37e675e25a9.zip opensim-SC_OLD-a9e76ce8470062f7e9a1de3a314fd37e675e25a9.tar.gz opensim-SC_OLD-a9e76ce8470062f7e9a1de3a314fd37e675e25a9.tar.bz2 opensim-SC_OLD-a9e76ce8470062f7e9a1de3a314fd37e675e25a9.tar.xz |
* minor: remove some pointless assignments in SOG.Copy() that had already been done by MemberwiseClone()
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneGraph.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneGraph.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneGraph.cs b/OpenSim/Region/Environment/Scenes/SceneGraph.cs index 940aee6..24eaad1 100644 --- a/OpenSim/Region/Environment/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Environment/Scenes/SceneGraph.cs | |||
@@ -1496,8 +1496,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
1496 | // occur on link to invoke this elsewhere (such as object selection) | 1496 | // occur on link to invoke this elsewhere (such as object selection) |
1497 | parenPrim.RootPart.AddFlag(PrimFlags.CreateSelected); | 1497 | parenPrim.RootPart.AddFlag(PrimFlags.CreateSelected); |
1498 | parenPrim.TriggerScriptChangedEvent(Changed.LINK); | 1498 | parenPrim.TriggerScriptChangedEvent(Changed.LINK); |
1499 | |||
1499 | if (client != null) | 1500 | if (client != null) |
1501 | { | ||
1500 | parenPrim.GetProperties(client); | 1502 | parenPrim.GetProperties(client); |
1503 | } | ||
1501 | else | 1504 | else |
1502 | { | 1505 | { |
1503 | foreach (ScenePresence p in GetScenePresences()) | 1506 | foreach (ScenePresence p in GetScenePresences()) |
@@ -1715,6 +1718,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1715 | // SceneObjectGroup dupe = DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); | 1718 | // SceneObjectGroup dupe = DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Zero); |
1716 | DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Identity); | 1719 | DuplicateObject(originalPrim, offset, flags, AgentID, GroupID, Quaternion.Identity); |
1717 | } | 1720 | } |
1721 | |||
1718 | /// <summary> | 1722 | /// <summary> |
1719 | /// Duplicate the given object. | 1723 | /// Duplicate the given object. |
1720 | /// </summary> | 1724 | /// </summary> |
@@ -1780,6 +1784,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1780 | { | 1784 | { |
1781 | m_log.WarnFormat("[SCENE]: Attempted to duplicate nonexistant prim id {0}", GroupID); | 1785 | m_log.WarnFormat("[SCENE]: Attempted to duplicate nonexistant prim id {0}", GroupID); |
1782 | } | 1786 | } |
1787 | |||
1783 | return null; | 1788 | return null; |
1784 | } | 1789 | } |
1785 | 1790 | ||