aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorUbitUmarov2012-06-05 05:53:44 +0100
committerUbitUmarov2012-06-05 05:53:44 +0100
commitbdc62144ae19749751bd437c5bde12e2f453dfa5 (patch)
treef1084f0517e5dccf4db1116de7774e018cdc0d9f /OpenSim
parent revert last bad commit but fix recoil direction (diff)
downloadopensim-SC_OLD-bdc62144ae19749751bd437c5bde12e2f453dfa5.zip
opensim-SC_OLD-bdc62144ae19749751bd437c5bde12e2f453dfa5.tar.gz
opensim-SC_OLD-bdc62144ae19749751bd437c5bde12e2f453dfa5.tar.bz2
opensim-SC_OLD-bdc62144ae19749751bd437c5bde12e2f453dfa5.tar.xz
fix the real cause of double velocity
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneGraph.cs1
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;