diff options
author | UbitUmarov | 2016-07-12 17:21:34 +0100 |
---|---|---|
committer | UbitUmarov | 2016-07-12 17:21:34 +0100 |
commit | bc6c342d015a974c2f64ddd53b160c27837ba114 (patch) | |
tree | d4494a01c4a27e993c304ebff1c0a62653a75b22 /OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |
parent | don't break child agents start position (diff) | |
download | opensim-SC_OLD-bc6c342d015a974c2f64ddd53b160c27837ba114.zip opensim-SC_OLD-bc6c342d015a974c2f64ddd53b160c27837ba114.tar.gz opensim-SC_OLD-bc6c342d015a974c2f64ddd53b160c27837ba114.tar.bz2 opensim-SC_OLD-bc6c342d015a974c2f64ddd53b160c27837ba114.tar.xz |
let radius be radius, not diameter
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 2 |
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) |