diff options
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Scene.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs index 04ce8d4..7e3937c 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.cs | |||
@@ -1163,6 +1163,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
1163 | if (part == null) | 1163 | if (part == null) |
1164 | continue; | 1164 | continue; |
1165 | 1165 | ||
1166 | |||
1166 | // Draw if the object is at least 1 meter wide in any direction | 1167 | // Draw if the object is at least 1 meter wide in any direction |
1167 | if (part.Scale.X > 1f || part.Scale.Y > 1f || part.Scale.Z > 1f) | 1168 | if (part.Scale.X > 1f || part.Scale.Y > 1f || part.Scale.Z > 1f) |
1168 | { | 1169 | { |
@@ -1176,6 +1177,11 @@ namespace OpenSim.Region.Environment.Scenes | |||
1176 | if (part.Shape == null) | 1177 | if (part.Shape == null) |
1177 | continue; | 1178 | continue; |
1178 | 1179 | ||
1180 | if (part.Shape.PCode == (byte)PCode.Tree || part.Shape.PCode == (byte)PCode.NewTree) | ||
1181 | continue; // eliminates trees from this since we don't really have a good tree representation | ||
1182 | // if you want tree blocks on the map comment the above line and uncomment the below line | ||
1183 | //mapdotspot = Color.PaleGreen; | ||
1184 | |||
1179 | if (part.Shape.Textures == null) | 1185 | if (part.Shape.Textures == null) |
1180 | continue; | 1186 | continue; |
1181 | 1187 | ||