diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index c1348c7..09a864e 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -300,7 +300,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
300 | dupe.Acceleration = new LLVector3(0, 0, 0); | 300 | dupe.Acceleration = new LLVector3(0, 0, 0); |
301 | dupe.AngularVelocity = new LLVector3(0, 0, 0); | 301 | dupe.AngularVelocity = new LLVector3(0, 0, 0); |
302 | dupe.ObjectFlags = this.ObjectFlags; | 302 | dupe.ObjectFlags = this.ObjectFlags; |
303 | //TODO copy extraparams data and anything else not currently copied | 303 | |
304 | byte[] extraP = new byte[this.Shape.ExtraParams.Length]; | ||
305 | Array.Copy(this.Shape.ExtraParams, extraP, extraP.Length); | ||
306 | dupe.Shape.ExtraParams = extraP; | ||
307 | |||
304 | return dupe; | 308 | return dupe; |
305 | } | 309 | } |
306 | #endregion | 310 | #endregion |