diff options
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 | ||