diff options
author | Melanie | 2011-01-10 22:02:09 +0100 |
---|---|---|
committer | Melanie | 2011-01-10 22:02:09 +0100 |
commit | 72048169c0f8aea6806f987f8ef932798f73a8aa (patch) | |
tree | 7eff403e981cc1338ff44184ca18b0bfa84d1f88 /OpenSim | |
parent | Preserve the script running flag when copying an object. (diff) | |
download | opensim-SC-72048169c0f8aea6806f987f8ef932798f73a8aa.zip opensim-SC-72048169c0f8aea6806f987f8ef932798f73a8aa.tar.gz opensim-SC-72048169c0f8aea6806f987f8ef932798f73a8aa.tar.bz2 opensim-SC-72048169c0f8aea6806f987f8ef932798f73a8aa.tar.xz |
Taint SOGs the right way
Diffstat (limited to '')
-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 | ||