aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorUbitUmarov2016-07-12 17:21:34 +0100
committerUbitUmarov2016-07-12 17:21:34 +0100
commitbc6c342d015a974c2f64ddd53b160c27837ba114 (patch)
treed4494a01c4a27e993c304ebff1c0a62653a75b22
parentdon't break child agents start position (diff)
downloadopensim-SC-bc6c342d015a974c2f64ddd53b160c27837ba114.zip
opensim-SC-bc6c342d015a974c2f64ddd53b160c27837ba114.tar.gz
opensim-SC-bc6c342d015a974c2f64ddd53b160c27837ba114.tar.bz2
opensim-SC-bc6c342d015a974c2f64ddd53b160c27837ba114.tar.xz
let radius be radius, not diameter
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index f75a7ef..1a40ed9 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -1591,7 +1591,7 @@ namespace OpenSim.Region.Framework.Scenes
1591 for (int i = 0; i < nparts; i++) 1591 for (int i = 0; i < nparts; i++)
1592 { 1592 {
1593 p = parts[i]; 1593 p = parts[i];
1594 partR = p.Scale.Length(); 1594 partR = 0.5f * p.Scale.Length();
1595 if(p != RootPart) 1595 if(p != RootPart)
1596 partR += p.OffsetPosition.Length(); 1596 partR += p.OffsetPosition.Length();
1597 if(partR > res) 1597 if(partR > res)