diff options
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index e6b8c16..671feda 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2139,7 +2139,14 @@ namespace OpenSim.Region.Framework.Scenes | |||
2139 | public bool AddRestoredSceneObject( | 2139 | public bool AddRestoredSceneObject( |
2140 | SceneObjectGroup sceneObject, bool attachToBackup, bool alreadyPersisted, bool sendClientUpdates) | 2140 | SceneObjectGroup sceneObject, bool attachToBackup, bool alreadyPersisted, bool sendClientUpdates) |
2141 | { | 2141 | { |
2142 | return m_sceneGraph.AddRestoredSceneObject(sceneObject, attachToBackup, alreadyPersisted, sendClientUpdates); | 2142 | if (m_sceneGraph.AddRestoredSceneObject(sceneObject, attachToBackup, alreadyPersisted, sendClientUpdates)) |
2143 | { | ||
2144 | EventManager.TriggerObjectAddedToScene(sceneObject); | ||
2145 | return true; | ||
2146 | } | ||
2147 | |||
2148 | return false; | ||
2149 | |||
2143 | } | 2150 | } |
2144 | 2151 | ||
2145 | /// <summary> | 2152 | /// <summary> |