diff options
author | Teravus Ovares | 2007-11-08 15:22:36 +0000 |
---|---|---|
committer | Teravus Ovares | 2007-11-08 15:22:36 +0000 |
commit | fcc276a68da1da15fac802725a116b3e8d7f7197 (patch) | |
tree | b69d28ba9ef087154aa7480b6be89cee8d1b2389 /OpenSim/Region/Environment/Scenes/ScenePresence.cs | |
parent | reformatted OpenSimAssetSet.xml (whitespace only) (diff) | |
download | opensim-SC-fcc276a68da1da15fac802725a116b3e8d7f7197.zip opensim-SC-fcc276a68da1da15fac802725a116b3e8d7f7197.tar.gz opensim-SC-fcc276a68da1da15fac802725a116b3e8d7f7197.tar.bz2 opensim-SC-fcc276a68da1da15fac802725a116b3e8d7f7197.tar.xz |
* Fixed occasional character drift caused by sim not sending the avatar's final resting velocity.
* Added Smooth moving prim
* Added event to PhysicsActor RequestPhysicsterseUpdate to allow physics plugins to be able to schedule a terse update.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/ScenePresence.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/ScenePresence.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/ScenePresence.cs b/OpenSim/Region/Environment/Scenes/ScenePresence.cs index 789bd68..608efc3 100644 --- a/OpenSim/Region/Environment/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Environment/Scenes/ScenePresence.cs | |||
@@ -386,6 +386,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
386 | if (PhysicsActor != null) | 386 | if (PhysicsActor != null) |
387 | { | 387 | { |
388 | m_scene.PhysScene.RemoveAvatar(PhysicsActor); | 388 | m_scene.PhysScene.RemoveAvatar(PhysicsActor); |
389 | m_physicsActor.OnRequestTerseUpdate -= SendTerseUpdateToAllClients; | ||
389 | PhysicsActor = null; | 390 | PhysicsActor = null; |
390 | } | 391 | } |
391 | } | 392 | } |
@@ -1092,6 +1093,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1092 | AbsolutePosition.Z); | 1093 | AbsolutePosition.Z); |
1093 | 1094 | ||
1094 | m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec); | 1095 | m_physicsActor = scene.AddAvatar(Firstname + "." + Lastname, pVec); |
1096 | m_physicsActor.OnRequestTerseUpdate += SendTerseUpdateToAllClients; | ||
1095 | } | 1097 | } |
1096 | 1098 | ||
1097 | internal void Close() | 1099 | internal void Close() |