diff options
author | Melanie | 2012-02-20 16:55:12 +0100 |
---|---|---|
committer | Melanie | 2012-02-20 16:55:12 +0100 |
commit | 8f8206f47841cb0dd9db4e28377e32dd21f0dec0 (patch) | |
tree | cfacb56a298020f5a4045597e7d062044fb03a88 /OpenSim/Region/Framework/Scenes | |
parent | Merge branch 'master' of ssh://3dhosting.de/var/git/careminster (diff) | |
download | opensim-SC-8f8206f47841cb0dd9db4e28377e32dd21f0dec0.zip opensim-SC-8f8206f47841cb0dd9db4e28377e32dd21f0dec0.tar.gz opensim-SC-8f8206f47841cb0dd9db4e28377e32dd21f0dec0.tar.bz2 opensim-SC-8f8206f47841cb0dd9db4e28377e32dd21f0dec0.tar.xz |
Add an override to make SOG.Velocity work as expected
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 2481dd2..cf8637f 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -605,6 +605,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
605 | } | 605 | } |
606 | } | 606 | } |
607 | 607 | ||
608 | public override Vector3 Velocity | ||
609 | { | ||
610 | get { return RootPart.Velocity; } | ||
611 | set { RootPart.Velocity = value; } | ||
612 | } | ||
613 | |||
608 | private void CrossAgentToNewRegionCompleted(IAsyncResult iar) | 614 | private void CrossAgentToNewRegionCompleted(IAsyncResult iar) |
609 | { | 615 | { |
610 | CrossAgentToNewRegionDelegate icon = (CrossAgentToNewRegionDelegate)iar.AsyncState; | 616 | CrossAgentToNewRegionDelegate icon = (CrossAgentToNewRegionDelegate)iar.AsyncState; |