diff options
author | Melanie | 2011-06-02 18:32:25 +0200 |
---|---|---|
committer | Melanie | 2011-06-02 18:32:25 +0200 |
commit | 61bf2bf2ddce323255d7d009274d8da5a2da54c9 (patch) | |
tree | 61541b5db46d72a73675e85f99a4a73c148bb807 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Merge branch 'master' into careminster-presence-refactor (diff) | |
download | opensim-SC_OLD-61bf2bf2ddce323255d7d009274d8da5a2da54c9.zip opensim-SC_OLD-61bf2bf2ddce323255d7d009274d8da5a2da54c9.tar.gz opensim-SC_OLD-61bf2bf2ddce323255d7d009274d8da5a2da54c9.tar.bz2 opensim-SC_OLD-61bf2bf2ddce323255d7d009274d8da5a2da54c9.tar.xz |
Make Buoyancy a prim property
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index d3d5d08..74d24a6 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -680,6 +680,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
680 | 680 | ||
681 | ApplyPhysics(m_scene.m_physicalPrim); | 681 | ApplyPhysics(m_scene.m_physicalPrim); |
682 | 682 | ||
683 | if (RootPart.PhysActor != null) | ||
684 | RootPart.Buoyancy = RootPart.Buoyancy; | ||
685 | |||
683 | // Don't trigger the update here - otherwise some client issues occur when multiple updates are scheduled | 686 | // Don't trigger the update here - otherwise some client issues occur when multiple updates are scheduled |
684 | // for the same object with very different properties. The caller must schedule the update. | 687 | // for the same object with very different properties. The caller must schedule the update. |
685 | //ScheduleGroupForFullUpdate(); | 688 | //ScheduleGroupForFullUpdate(); |