aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Scripting/Minimodule
diff options
context:
space:
mode:
authorAdam Frisby2009-05-12 21:21:33 +0000
committerAdam Frisby2009-05-12 21:21:33 +0000
commit3a28f748d5cb586a5401b9b4d1f2f108af79ace1 (patch)
tree30604d290d5bb0389db40202b0793a9cda586820 /OpenSim/Region/OptionalModules/Scripting/Minimodule
parent* EventManager's OnNewPresence event now fires correctly again. (diff)
downloadopensim-SC_OLD-3a28f748d5cb586a5401b9b4d1f2f108af79ace1.zip
opensim-SC_OLD-3a28f748d5cb586a5401b9b4d1f2f108af79ace1.tar.gz
opensim-SC_OLD-3a28f748d5cb586a5401b9b4d1f2f108af79ace1.tar.bz2
opensim-SC_OLD-3a28f748d5cb586a5401b9b4d1f2f108af79ace1.tar.xz
* Adds ScenePresence.TeleportWithMomentum - same as .Teleport, but preserves velocity.
Diffstat (limited to 'OpenSim/Region/OptionalModules/Scripting/Minimodule')
-rw-r--r--OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs
index 0f2076e..8fed89c 100644
--- a/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs
+++ b/OpenSim/Region/OptionalModules/Scripting/Minimodule/SPAvatar.cs
@@ -61,7 +61,7 @@ namespace OpenSim.Region.OptionalModules.Scripting.Minimodule
61 public Vector3 WorldPosition 61 public Vector3 WorldPosition
62 { 62 {
63 get { return GetSP().AbsolutePosition; } 63 get { return GetSP().AbsolutePosition; }
64 set { GetSP().AbsolutePosition = value; } 64 set { GetSP().TeleportWithMomentum(value); }
65 } 65 }
66 } 66 }
67} 67}