diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/ScenePresence.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index e2be79a..2c18397 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) Contributors, http://opensimulator.org/ | 2 | * Copyright (c) Contributors, http://opensimulator.org/ |
3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. | 3 | * See CONTRIBUTORS.TXT for a full list of copyright holders. |
4 | * | 4 | * |
@@ -532,7 +532,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
532 | { | 532 | { |
533 | if (PhysicsActor != null) | 533 | if (PhysicsActor != null) |
534 | { | 534 | { |
535 | m_velocity = PhysicsActor.TargetVelocity; | 535 | m_velocity = PhysicsActor.Velocity; |
536 | 536 | ||
537 | // m_log.DebugFormat( | 537 | // m_log.DebugFormat( |
538 | // "[SCENE PRESENCE]: Set velocity {0} for {1} in {2} via getting Velocity!", | 538 | // "[SCENE PRESENCE]: Set velocity {0} for {1} in {2} via getting Velocity!", |
@@ -547,7 +547,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
547 | { | 547 | { |
548 | try | 548 | try |
549 | { | 549 | { |
550 | PhysicsActor.Velocity = value; | 550 | PhysicsActor.TargetVelocity = value; |
551 | } | 551 | } |
552 | catch (Exception e) | 552 | catch (Exception e) |
553 | { | 553 | { |