mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 01:35:46 +08:00
Fix a bug preventing region modules from creating trees at anything but the default scale.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
78ff82bfe9
commit
90c6fa89be
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user