aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie2011-01-10 22:02:09 +0100
committerMelanie2011-01-10 22:02:09 +0100
commit72048169c0f8aea6806f987f8ef932798f73a8aa (patch)
tree7eff403e981cc1338ff44184ca18b0bfa84d1f88 /OpenSim
parentPreserve the script running flag when copying an object. (diff)
downloadopensim-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.cs6
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