Added Scene.ConvertLocalIDToFullID() method.

This commit is contained in:
MW
2007-08-13 20:24:37 +00:00
parent b3c6920328
commit 45fcbaae1b
4 changed files with 47 additions and 1 deletions

View File

@@ -300,7 +300,11 @@ namespace OpenSim.Region.Environment.Scenes
dupe.Acceleration = new LLVector3(0, 0, 0);
dupe.AngularVelocity = new LLVector3(0, 0, 0);
dupe.ObjectFlags = this.ObjectFlags;
//TODO copy extraparams data and anything else not currently copied
byte[] extraP = new byte[this.Shape.ExtraParams.Length];
Array.Copy(this.Shape.ExtraParams, extraP, extraP.Length);
dupe.Shape.ExtraParams = extraP;
return dupe;
}
#endregion