aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes
diff options
context:
space:
mode:
authorMelanie2013-05-26 14:11:48 +0200
committerMelanie2013-05-26 14:11:48 +0200
commita348c8e44a72bd2de0151fc6db7a229cd8ee86a2 (patch)
treec2854be5ea332d45c49ee04a2a2fa2d2d78f149a /OpenSim/Region/Framework/Scenes
parentUpdate the money framework to allow sending the new style linden "serverside ... (diff)
downloadopensim-SC-a348c8e44a72bd2de0151fc6db7a229cd8ee86a2.zip
opensim-SC-a348c8e44a72bd2de0151fc6db7a229cd8ee86a2.tar.gz
opensim-SC-a348c8e44a72bd2de0151fc6db7a229cd8ee86a2.tar.bz2
opensim-SC-a348c8e44a72bd2de0151fc6db7a229cd8ee86a2.tar.xz
Allow Linden trees to preserve their type when taken into inventory and rezzed again. Allow Linden trees to be sensed by LLSensor as PASSIVE objects.
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 69fb6df..0ea4e09 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -272,6 +272,11 @@ namespace OpenSim.Region.Framework.Scenes
272 { 272 {
273 AttachmentPoint = 0; 273 AttachmentPoint = 0;
274 274
275 // Don't zap trees
276 if (RootPart.Shape.PCode == (byte)PCode.Tree ||
277 RootPart.Shape.PCode == (byte)PCode.NewTree)
278 return;
279
275 // Even though we don't use child part state parameters for attachments any more, we still need to set 280 // Even though we don't use child part state parameters for attachments any more, we still need to set
276 // these to zero since having them non-zero in rezzed scene objects will crash some clients. Even if 281 // these to zero since having them non-zero in rezzed scene objects will crash some clients. Even if
277 // we store them correctly, scene objects that we receive from elsewhere might not. 282 // we store them correctly, scene objects that we receive from elsewhere might not.