From 84b43c8c2378899ad34eb86a0577b1f453afab68 Mon Sep 17 00:00:00 2001
From: Homer Horwitz
Date: Sat, 20 Dec 2008 16:42:17 +0000
Subject: Fix Mantis#2878 for now by not resetting physical values on rez (only
 on switch). We still might have to split the rotational velocities into a
 physical and a non-physical part...

---
 OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
index c54f8f8..6b4d47a 100644
--- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
+++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs
@@ -1425,7 +1425,7 @@ if (m_shape != null) {
                         PhysActor.delink();
                     }
 
-                    if (!UsePhysics)
+                    if (!UsePhysics && !isNew)
                     {
                         // reset velocity to 0 on physics switch-off. Without that, the client thinks the
                         // prim still has velocity and continues to interpolate its position along the old
-- 
cgit v1.1