From e01c128c8fdf4138bff8a5289ca7e0d91175e87e Mon Sep 17 00:00:00 2001 From: lbsa71 Date: Tue, 4 Dec 2007 11:11:13 +0000 Subject: [PATCH] * Added ApplyPhysics helper on group. --- OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index eb8b767d76..c47a0faff5 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs @@ -1676,5 +1676,13 @@ namespace OpenSim.Region.Environment.Scenes (int)(color.z * 0xff)); Text = text; } + + public void ApplyPhysics() + { + foreach(SceneObjectPart part in m_parts.Values ) + { + part.ApplyPhysics(); + } + } } }