diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index 304de67..6e0fc43 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2857,8 +2857,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
2857 | } | 2857 | } |
2858 | } | 2858 | } |
2859 | 2859 | ||
2860 | RootPart.UpdatePrimFlags(UsePhysics, IsTemporary, IsPhantom, IsVolumeDetect); | ||
2860 | for (int i = 0; i < parts.Length; i++) | 2861 | for (int i = 0; i < parts.Length; i++) |
2861 | parts[i].UpdatePrimFlags(UsePhysics, IsTemporary, IsPhantom, IsVolumeDetect); | 2862 | { |
2863 | if (parts[i] != RootPart) | ||
2864 | parts[i].UpdatePrimFlags(UsePhysics, IsTemporary, IsPhantom, IsVolumeDetect); | ||
2865 | } | ||
2862 | } | 2866 | } |
2863 | } | 2867 | } |
2864 | 2868 | ||