aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
diff options
context:
space:
mode:
authorMW2007-08-13 20:24:37 +0000
committerMW2007-08-13 20:24:37 +0000
commit45fcbaae1befb988608654505b1e7c275a189770 (patch)
treedba22b72d604d68957bb81c13450b57e0340acd1 /OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
parentadded Sample OnObjectGrab event to SceneEventManager for script engines to s... (diff)
downloadopensim-SC-45fcbaae1befb988608654505b1e7c275a189770.zip
opensim-SC-45fcbaae1befb988608654505b1e7c275a189770.tar.gz
opensim-SC-45fcbaae1befb988608654505b1e7c275a189770.tar.bz2
opensim-SC-45fcbaae1befb988608654505b1e7c275a189770.tar.xz
Added Scene.ConvertLocalIDToFullID() method.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneObjectPart.cs6
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