aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODEPrim.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
index 2046ff9..e42c711 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODEPrim.cs
@@ -2264,7 +2264,11 @@ namespace OpenSim.Region.Physics.OdePlugin
2264 public override bool IsPhysical 2264 public override bool IsPhysical
2265 { 2265 {
2266 get { return m_isphysical; } 2266 get { return m_isphysical; }
2267 set { m_isphysical = value; } 2267 set {
2268 m_isphysical = value;
2269 if (!m_isphysical) // Zero the remembered last velocity
2270 m_lastVelocity = new PhysicsVector(0.0f, 0.0f, 0.0f);
2271 }
2268 } 2272 }
2269 2273
2270 public void setPrimForRemoval() 2274 public void setPrimForRemoval()