diff options
author | Melanie | 2011-12-22 19:52:59 +0000 |
---|---|---|
committer | Melanie | 2011-12-22 19:52:59 +0000 |
commit | eef6f920295f0d22b37513e6c8eb5eb42b7a0c75 (patch) | |
tree | 72a603500425f1fb628e4efa808f3c1ee03e763f /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | Merge branch 'master' into careminster (diff) | |
parent | rename Scene.m_physicalPrim to PhysicalPrims since its public and access exte... (diff) | |
download | opensim-SC-eef6f920295f0d22b37513e6c8eb5eb42b7a0c75.zip opensim-SC-eef6f920295f0d22b37513e6c8eb5eb42b7a0c75.tar.gz opensim-SC-eef6f920295f0d22b37513e6c8eb5eb42b7a0c75.tar.bz2 opensim-SC-eef6f920295f0d22b37513e6c8eb5eb42b7a0c75.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 948dca2..7723eba 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -769,7 +769,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
769 | //m_log.DebugFormat("[SCENE]: Given local id {0} to part {1}, linknum {2}, parent {3} {4}", part.LocalId, part.UUID, part.LinkNum, part.ParentID, part.ParentUUID); | 769 | //m_log.DebugFormat("[SCENE]: Given local id {0} to part {1}, linknum {2}, parent {3} {4}", part.LocalId, part.UUID, part.LinkNum, part.ParentID, part.ParentUUID); |
770 | } | 770 | } |
771 | 771 | ||
772 | ApplyPhysics(m_scene.m_physicalPrim); | 772 | ApplyPhysics(); |
773 | 773 | ||
774 | if (RootPart.PhysActor != null) | 774 | if (RootPart.PhysActor != null) |
775 | RootPart.Buoyancy = RootPart.Buoyancy; | 775 | RootPart.Buoyancy = RootPart.Buoyancy; |
@@ -1564,8 +1564,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
1564 | /// <summary> | 1564 | /// <summary> |
1565 | /// Apply physics to this group | 1565 | /// Apply physics to this group |
1566 | /// </summary> | 1566 | /// </summary> |
1567 | /// <param name="m_physicalPrim"></param> | 1567 | public void ApplyPhysics() |
1568 | public void ApplyPhysics(bool m_physicalPrim) | ||
1569 | { | 1568 | { |
1570 | // Apply physics to the root prim | 1569 | // Apply physics to the root prim |
1571 | m_rootPart.ApplyPhysics(m_rootPart.GetEffectiveObjectFlags(), m_rootPart.VolumeDetectActive); | 1570 | m_rootPart.ApplyPhysics(m_rootPart.GetEffectiveObjectFlags(), m_rootPart.VolumeDetectActive); |