diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneObjectPart.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs index 67048bf..7fd1963 100644 --- a/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs +++ b/OpenSim/Region/Environment/Scenes/SceneObjectPart.cs | |||
@@ -875,6 +875,13 @@ namespace OpenSim.Region.Environment.Scenes | |||
875 | if (vScale.z > radius) | 875 | if (vScale.z > radius) |
876 | radius = vScale.z; | 876 | radius = vScale.z; |
877 | 877 | ||
878 | // the second part of this is the default prim size | ||
879 | // once we factor in the aabb of the prim we're adding we can | ||
880 | // change this to; | ||
881 | // radius = (radius / 2) - 0.01f; | ||
882 | // | ||
883 | radius = (radius / 2) + (0.5f / 2) - 0.1f; | ||
884 | |||
878 | //radius = radius; | 885 | //radius = radius; |
879 | 886 | ||
880 | float itestPart3 = tmVal4.x + tmVal4.y + tmVal4.z + tmVal5.x + tmVal5.y + tmVal5.z - | 887 | float itestPart3 = tmVal4.x + tmVal4.y + tmVal4.z + tmVal5.x + tmVal5.y + tmVal5.z - |