Fix a bug preventing region modules from creating trees at anything but the default scale.

bulletsim
Aaron Duffy 2011-08-06 22:34:41 -06:00 committed by Justin Clark-Casey (justincc)
parent 78ff82bfe9
commit 90c6fa89be
1 changed files with 3 additions and 3 deletions

View File

@ -100,15 +100,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Vegetation
{
case Tree.Cypress1:
case Tree.Cypress2:
tree.Scale = new Vector3(4, 4, 10);
tree.Scale *= new Vector3(8, 8, 20);
break;
// case... other tree types
// tree.Scale = new Vector3(?, ?, ?);
// tree.Scale *= new Vector3(?, ?, ?);
// break;
default:
tree.Scale = new Vector3(4, 4, 4);
tree.Scale *= new Vector3(8, 8, 8);
break;
}
}