Fix a bug preventing region modules from creating trees at anything but the default scale.
parent
78ff82bfe9
commit
90c6fa89be
|
@ -100,15 +100,15 @@ namespace OpenSim.Region.CoreModules.Avatar.Vegetation
|
||||||
{
|
{
|
||||||
case Tree.Cypress1:
|
case Tree.Cypress1:
|
||||||
case Tree.Cypress2:
|
case Tree.Cypress2:
|
||||||
tree.Scale = new Vector3(4, 4, 10);
|
tree.Scale *= new Vector3(8, 8, 20);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
// case... other tree types
|
// case... other tree types
|
||||||
// tree.Scale = new Vector3(?, ?, ?);
|
// tree.Scale *= new Vector3(?, ?, ?);
|
||||||
// break;
|
// break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
tree.Scale = new Vector3(4, 4, 4);
|
tree.Scale *= new Vector3(8, 8, 8);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue