diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs index 1e38cd6..b0e5f96 100644 --- a/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs +++ b/OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs | |||
@@ -30,6 +30,7 @@ using OpenSim.Region.Environment.Scenes; | |||
30 | using OpenSim.Region.Environment.Modules.World.Serialiser; | 30 | using OpenSim.Region.Environment.Modules.World.Serialiser; |
31 | using OpenSim.Region.Environment.Modules.World.Terrain; | 31 | using OpenSim.Region.Environment.Modules.World.Terrain; |
32 | using System; | 32 | using System; |
33 | using Axiom.Math; | ||
33 | using System.Collections.Generic; | 34 | using System.Collections.Generic; |
34 | using System.IO; | 35 | using System.IO; |
35 | using System.IO.Compression; | 36 | using System.IO.Compression; |
@@ -135,6 +136,9 @@ namespace OpenSim.Region.Environment.Modules.World.Archiver | |||
135 | part.CreatorID = masterAvatarId; | 136 | part.CreatorID = masterAvatarId; |
136 | part.OwnerID = masterAvatarId; | 137 | part.OwnerID = masterAvatarId; |
137 | part.LastOwnerID = masterAvatarId; | 138 | part.LastOwnerID = masterAvatarId; |
139 | // And zap any troublesome sit target information | ||
140 | part.SitTargetOrientation = new Quaternion(0,0,0,1); | ||
141 | part.SitTargetPosition = new Vector3(0,0,0); | ||
138 | } | 142 | } |
139 | 143 | ||
140 | if (m_scene.AddRestoredSceneObject(sceneObject, true, false)) | 144 | if (m_scene.AddRestoredSceneObject(sceneObject, true, false)) |