diff options
author | UbitUmarov | 2012-06-05 05:53:44 +0100 |
---|---|---|
committer | UbitUmarov | 2012-06-05 05:53:44 +0100 |
commit | bdc62144ae19749751bd437c5bde12e2f453dfa5 (patch) | |
tree | f1084f0517e5dccf4db1116de7774e018cdc0d9f /OpenSim/Region/Framework/Scenes | |
parent | revert last bad commit but fix recoil direction (diff) | |
download | opensim-SC-bdc62144ae19749751bd437c5bde12e2f453dfa5.zip opensim-SC-bdc62144ae19749751bd437c5bde12e2f453dfa5.tar.gz opensim-SC-bdc62144ae19749751bd437c5bde12e2f453dfa5.tar.bz2 opensim-SC-bdc62144ae19749751bd437c5bde12e2f453dfa5.tar.xz |
fix the real cause of double velocity
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneGraph.cs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneGraph.cs b/OpenSim/Region/Framework/Scenes/SceneGraph.cs index 0d178c3..b7466be 100644 --- a/OpenSim/Region/Framework/Scenes/SceneGraph.cs +++ b/OpenSim/Region/Framework/Scenes/SceneGraph.cs | |||
@@ -352,7 +352,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
352 | if (pa != null && pa.IsPhysical && vel != Vector3.Zero) | 352 | if (pa != null && pa.IsPhysical && vel != Vector3.Zero) |
353 | { | 353 | { |
354 | sceneObject.RootPart.ApplyImpulse((vel * sceneObject.GetMass()), false); | 354 | sceneObject.RootPart.ApplyImpulse((vel * sceneObject.GetMass()), false); |
355 | sceneObject.Velocity = vel; | ||
356 | } | 355 | } |
357 | 356 | ||
358 | return true; | 357 | return true; |