diff options
author | UbitUmarov | 2014-09-22 16:09:39 +0100 |
---|---|---|
committer | UbitUmarov | 2014-09-22 16:09:39 +0100 |
commit | ea4a526095c7797e3863f540abb8d439dac3f9d3 (patch) | |
tree | b143c9b8e06081047f670bad8bc24d1a6205d61f /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | same in a few more spots (diff) | |
download | opensim-SC_OLD-ea4a526095c7797e3863f540abb8d439dac3f9d3.zip opensim-SC_OLD-ea4a526095c7797e3863f540abb8d439dac3f9d3.tar.gz opensim-SC_OLD-ea4a526095c7797e3863f540abb8d439dac3f9d3.tar.bz2 opensim-SC_OLD-ea4a526095c7797e3863f540abb8d439dac3f9d3.tar.xz |
a few more changes on link/unlink
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index b939b58..ca6f457 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -3177,9 +3177,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3177 | 3177 | ||
3178 | m_scene.AddNewSceneObject(objectGroup, true); | 3178 | m_scene.AddNewSceneObject(objectGroup, true); |
3179 | 3179 | ||
3180 | if (sendEvents) | ||
3181 | linkPart.TriggerScriptChangedEvent(Changed.LINK); | ||
3182 | |||
3183 | linkPart.Rezzed = RootPart.Rezzed; | 3180 | linkPart.Rezzed = RootPart.Rezzed; |
3184 | 3181 | ||
3185 | // When we delete a group, we currently have to force persist to the database if the object id has changed | 3182 | // When we delete a group, we currently have to force persist to the database if the object id has changed |
@@ -3194,6 +3191,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
3194 | 3191 | ||
3195 | objectGroup.HasGroupChangedDueToDelink = true; | 3192 | objectGroup.HasGroupChangedDueToDelink = true; |
3196 | 3193 | ||
3194 | if (sendEvents) | ||
3195 | linkPart.TriggerScriptChangedEvent(Changed.LINK); | ||
3196 | |||
3197 | return objectGroup; | 3197 | return objectGroup; |
3198 | } | 3198 | } |
3199 | 3199 | ||