aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorAaron Duffy2011-08-06 22:34:41 -0600
committerJustin Clark-Casey (justincc)2011-08-13 00:52:32 +0100
commit90c6fa89bea62f97376222f8251d576fa9af1298 (patch)
tree461bf38d8605d17d0c881240c1ee4a25a74e1959 /OpenSim
parentIf a map request to a server fails, always close the outbound connection. (diff)
downloadopensim-SC_OLD-90c6fa89bea62f97376222f8251d576fa9af1298.zip
opensim-SC_OLD-90c6fa89bea62f97376222f8251d576fa9af1298.tar.gz
opensim-SC_OLD-90c6fa89bea62f97376222f8251d576fa9af1298.tar.bz2
opensim-SC_OLD-90c6fa89bea62f97376222f8251d576fa9af1298.tar.xz
Fix a bug preventing region modules from creating trees at anything but the default scale.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs b/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs
index c2ad7b8..ab8e1bf 100644
--- a/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs
+++ b/OpenSim/Region/CoreModules/World/Vegetation/VegetationModule.cs
@@ -100,15 +100,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Vegetation
100 { 100 {
101 case Tree.Cypress1: 101 case Tree.Cypress1:
102 case Tree.Cypress2: 102 case Tree.Cypress2:
103 tree.Scale = new Vector3(4, 4, 10); 103 tree.Scale *= new Vector3(8, 8, 20);
104 break; 104 break;
105 105
106 // case... other tree types 106 // case... other tree types
107 // tree.Scale = new Vector3(?, ?, ?); 107 // tree.Scale *= new Vector3(?, ?, ?);
108 // break; 108 // break;
109 109
110 default: 110 default:
111 tree.Scale = new Vector3(4, 4, 4); 111 tree.Scale *= new Vector3(8, 8, 8);
112 break; 112 break;
113 } 113 }
114 } 114 }