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...
0.6.1-post-fixes
Homer Horwitz 2008-12-20 16:42:17 +00:00
parent 8f07f2e8b0
commit 84b43c8c23
1 changed files with 1 additions and 1 deletions

View File

@ -1425,7 +1425,7 @@ if (m_shape != null) {
PhysActor.delink(); PhysActor.delink();
} }
if (!UsePhysics) if (!UsePhysics && !isNew)
{ {
// reset velocity to 0 on physics switch-off. Without that, the client thinks the // 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 // prim still has velocity and continues to interpolate its position along the old