diff options
author | UbitUmarov | 2019-03-19 13:00:11 +0000 |
---|---|---|
committer | UbitUmarov | 2019-03-19 13:00:11 +0000 |
commit | af35882eda75c1a406ec7a2890370380810bf19f (patch) | |
tree | bd8747419f323fbf33ceb37936b9e8183c8ca34e | |
parent | recover the UnAckedBytes are in KB fix (diff) | |
download | opensim-SC-af35882eda75c1a406ec7a2890370380810bf19f.zip opensim-SC-af35882eda75c1a406ec7a2890370380810bf19f.tar.gz opensim-SC-af35882eda75c1a406ec7a2890370380810bf19f.tar.bz2 opensim-SC-af35882eda75c1a406ec7a2890370380810bf19f.tar.xz |
prevent spurius acceleration values
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs index edcdbd3..1a5e9d6 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectPart.cs | |||
@@ -1001,7 +1001,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1001 | get | 1001 | get |
1002 | { | 1002 | { |
1003 | PhysicsActor actor = PhysActor; | 1003 | PhysicsActor actor = PhysActor; |
1004 | if (actor != null) | 1004 | if (actor != null && actor.IsPhysical) |
1005 | { | 1005 | { |
1006 | m_acceleration = actor.Acceleration; | 1006 | m_acceleration = actor.Acceleration; |
1007 | } | 1007 | } |