aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
index 6485710..34e0ab7 100644
--- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
+++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs
@@ -2838,9 +2838,9 @@ namespace OpenSim.Region.Framework.Scenes
2838 for (int i = 0; i < parts.Length; i++) 2838 for (int i = 0; i < parts.Length; i++)
2839 { 2839 {
2840 SceneObjectPart part = parts[i]; 2840 SceneObjectPart part = parts[i];
2841 if (part.Scale.X > m_scene.RegionInfo.PhysPrimMax || 2841 if (part.Scale.X > m_scene.m_maxPhys ||
2842 part.Scale.Y > m_scene.RegionInfo.PhysPrimMax || 2842 part.Scale.Y > m_scene.m_maxPhys ||
2843 part.Scale.Z > m_scene.RegionInfo.PhysPrimMax) 2843 part.Scale.Z > m_scene.m_maxPhys )
2844 { 2844 {
2845 UsePhysics = false; // Reset physics 2845 UsePhysics = false; // Reset physics
2846 break; 2846 break;