diff options
author | Teravus Ovares | 2008-06-18 16:27:27 +0000 |
---|---|---|
committer | Teravus Ovares | 2008-06-18 16:27:27 +0000 |
commit | 1fcb7c2db4883d476e06f30a008d63530a948e06 (patch) | |
tree | 1c76cf082a35bf1584d33479f5bb4036703f4bd6 /OpenSim | |
parent | revert 5134. Changing these bitmaps to 24bit just breaks things, and they ne... (diff) | |
download | opensim-SC-1fcb7c2db4883d476e06f30a008d63530a948e06.zip opensim-SC-1fcb7c2db4883d476e06f30a008d63530a948e06.tar.gz opensim-SC-1fcb7c2db4883d476e06f30a008d63530a948e06.tar.bz2 opensim-SC-1fcb7c2db4883d476e06f30a008d63530a948e06.tar.xz |
* By popular demand, skipping trees from the map tile generation routine. Skipping these because we have no good representation, they just appear as blocks that obscure the rest of the map items.
Diffstat (limited to 'OpenSim')
-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 | ||