aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r--OpenSim/Region/Environment/Modules/World/Archiver/ArchiveReadRequest.cs4
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;
30using OpenSim.Region.Environment.Modules.World.Serialiser; 30using OpenSim.Region.Environment.Modules.World.Serialiser;
31using OpenSim.Region.Environment.Modules.World.Terrain; 31using OpenSim.Region.Environment.Modules.World.Terrain;
32using System; 32using System;
33using Axiom.Math;
33using System.Collections.Generic; 34using System.Collections.Generic;
34using System.IO; 35using System.IO;
35using System.IO.Compression; 36using 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))