diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Serialization')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs index 044b599..dd7e057 100644 --- a/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs +++ b/OpenSim/Region/Framework/Scenes/Serialization/SceneObjectSerializer.cs | |||
@@ -99,7 +99,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
99 | sceneObject.AddPart(part); | 99 | sceneObject.AddPart(part); |
100 | part.LinkNum = linkNum; | 100 | part.LinkNum = linkNum; |
101 | part.TrimPermissions(); | 101 | part.TrimPermissions(); |
102 | part.StoreUndoState(); | 102 | part.StoreUndoState(UndoType.STATE_ALL); |
103 | reader.Close(); | 103 | reader.Close(); |
104 | sr.Close(); | 104 | sr.Close(); |
105 | } | 105 | } |
@@ -217,7 +217,7 @@ namespace OpenSim.Region.Framework.Scenes.Serialization | |||
217 | if (originalLinkNum != 0) | 217 | if (originalLinkNum != 0) |
218 | part.LinkNum = originalLinkNum; | 218 | part.LinkNum = originalLinkNum; |
219 | 219 | ||
220 | part.StoreUndoState(); | 220 | part.StoreUndoState(UndoType.STATE_ALL); |
221 | reader.Close(); | 221 | reader.Close(); |
222 | sr.Close(); | 222 | sr.Close(); |
223 | } | 223 | } |