diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/InnerScene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/InnerScene.cs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/OpenSim/Region/Environment/Scenes/InnerScene.cs b/OpenSim/Region/Environment/Scenes/InnerScene.cs index 6c0f57b..2f7ca21 100644 --- a/OpenSim/Region/Environment/Scenes/InnerScene.cs +++ b/OpenSim/Region/Environment/Scenes/InnerScene.cs | |||
@@ -197,13 +197,6 @@ namespace OpenSim.Region.Environment.Scenes | |||
197 | protected internal bool AddRestoredSceneObject( | 197 | protected internal bool AddRestoredSceneObject( |
198 | SceneObjectGroup sceneObject, bool attachToBackup, bool alreadyPersisted) | 198 | SceneObjectGroup sceneObject, bool attachToBackup, bool alreadyPersisted) |
199 | { | 199 | { |
200 | foreach (SceneObjectPart part in sceneObject.Children.Values) | ||
201 | { | ||
202 | part.LocalId = m_parentScene.PrimIDAllocate(); | ||
203 | } | ||
204 | |||
205 | sceneObject.UpdateParentIDs(); | ||
206 | |||
207 | if (!alreadyPersisted) | 200 | if (!alreadyPersisted) |
208 | { | 201 | { |
209 | sceneObject.ForceInventoryPersistence(); | 202 | sceneObject.ForceInventoryPersistence(); |