aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 19dbbc9..9466ab9 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -1121,7 +1121,7 @@ namespace OpenSim.Region.Environment.Scenes
1121 SceneObjectPart rootPart = sceneOb.GetChildPart(sceneOb.UUID); 1121 SceneObjectPart rootPart = sceneOb.GetChildPart(sceneOb.UUID);
1122 // if grass or tree, make phantom 1122 // if grass or tree, make phantom
1123 //rootPart.TrimPermissions(); 1123 //rootPart.TrimPermissions();
1124 if ((rootPart.Shape.PCode == 95) || (rootPart.Shape.PCode == 255) || (rootPart.Shape.PCode == 111)) 1124 if ((rootPart.Shape.PCode == (byte)PCode.Grass) || (rootPart.Shape.PCode == (byte)PCode.Tree) || (rootPart.Shape.PCode == (byte)PCode.NewTree))
1125 { 1125 {
1126 rootPart.AddFlag(LLObject.ObjectFlags.Phantom); 1126 rootPart.AddFlag(LLObject.ObjectFlags.Phantom);
1127 //rootPart.ObjectFlags += (uint)LLObject.ObjectFlags.Phantom; 1127 //rootPart.ObjectFlags += (uint)LLObject.ObjectFlags.Phantom;