diff options
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); |