work around some 'tests' errors: allow sitTargetposition and orientation to be read from OAR on opensim, they are reset at avination, this may cause issues with old sits

LSLKeyTest
UbitUmarov 2015-11-17 03:42:46 +00:00
parent 4e74564caa
commit 1e87e90915
1 changed files with 2 additions and 1 deletions

View File

@ -599,10 +599,11 @@ namespace OpenSim.Region.CoreModules.World.Archiver
// being no copy/no mod for everyone // being no copy/no mod for everyone
lock (part.TaskInventory) lock (part.TaskInventory)
{ {
/* avination code disabled for opensim
// And zap any troublesome sit target information // And zap any troublesome sit target information
part.SitTargetOrientation = new Quaternion(0, 0, 0, 1); part.SitTargetOrientation = new Quaternion(0, 0, 0, 1);
part.SitTargetPosition = new Vector3(0, 0, 0); part.SitTargetPosition = new Vector3(0, 0, 0);
*/
// Fix ownership/creator of inventory items // Fix ownership/creator of inventory items
// Not doing so results in inventory items // Not doing so results in inventory items
// being no copy/no mod for everyone // being no copy/no mod for everyone