mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 17:55:48 +08:00
Added Scene.ConvertLocalIDToFullID() method.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user