diff options
author | Jeff Ames | 2008-03-17 17:23:49 +0000 |
---|---|---|
committer | Jeff Ames | 2008-03-17 17:23:49 +0000 |
commit | 7d1dcf3e68372a0692615c19ade95365ed633fcf (patch) | |
tree | 007138f9653de6baad72e1cd4e0bc826851e522b /OpenSim/Region/Environment/Scenes/Scene.cs | |
parent | Replaced some Console.WriteLine calls with writes to log. (diff) | |
download | opensim-SC_OLD-7d1dcf3e68372a0692615c19ade95365ed633fcf.zip opensim-SC_OLD-7d1dcf3e68372a0692615c19ade95365ed633fcf.tar.gz opensim-SC_OLD-7d1dcf3e68372a0692615c19ade95365ed633fcf.tar.bz2 opensim-SC_OLD-7d1dcf3e68372a0692615c19ade95365ed633fcf.tar.xz |
Replaced some magic PCode numbers with enum values.
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 2 |
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; |