diff options
author | lbsa71 | 2007-12-04 11:11:13 +0000 |
---|---|---|
committer | lbsa71 | 2007-12-04 11:11:13 +0000 |
commit | e01c128c8fdf4138bff8a5289ca7e0d91175e87e (patch) | |
tree | 88228bc6ab0c12d95578089563aab3937a02947a | |
parent | * More console message fixes (diff) | |
download | opensim-SC_OLD-e01c128c8fdf4138bff8a5289ca7e0d91175e87e.zip opensim-SC_OLD-e01c128c8fdf4138bff8a5289ca7e0d91175e87e.tar.gz opensim-SC_OLD-e01c128c8fdf4138bff8a5289ca7e0d91175e87e.tar.bz2 opensim-SC_OLD-e01c128c8fdf4138bff8a5289ca7e0d91175e87e.tar.xz |
* Added ApplyPhysics helper on group.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs index eb8b767..c47a0fa 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectGroup.cs | |||
@@ -1676,5 +1676,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
1676 | (int)(color.z * 0xff)); | 1676 | (int)(color.z * 0xff)); |
1677 | Text = text; | 1677 | Text = text; |
1678 | } | 1678 | } |
1679 | |||
1680 | public void ApplyPhysics() | ||
1681 | { | ||
1682 | foreach(SceneObjectPart part in m_parts.Values ) | ||
1683 | { | ||
1684 | part.ApplyPhysics(); | ||
1685 | } | ||
1686 | } | ||
1679 | } | 1687 | } |
1680 | } | 1688 | } |