aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2019-03-19 13:00:11 +0000
committerUbitUmarov2019-03-19 13:00:11 +0000
commitaf35882eda75c1a406ec7a2890370380810bf19f (patch)
treebd8747419f323fbf33ceb37936b9e8183c8ca34e
parentrecover the UnAckedBytes are in KB fix (diff)
downloadopensim-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.cs2
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 }