diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs index e7f2fdb..8939342 100644 --- a/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs +++ b/OpenSim/Region/Framework/Scenes/SceneObjectGroup.cs | |||
@@ -2423,9 +2423,9 @@ namespace OpenSim.Region.Framework.Scenes | |||
2423 | for (int i = 0; i < parts.Length; i++) | 2423 | for (int i = 0; i < parts.Length; i++) |
2424 | { | 2424 | { |
2425 | SceneObjectPart part = parts[i]; | 2425 | SceneObjectPart part = parts[i]; |
2426 | if (part.Scale.X > m_scene.RegionInfo.PhysPrimMax || | 2426 | if (part.Scale.X > m_scene.m_maxPhys || |
2427 | part.Scale.Y > m_scene.RegionInfo.PhysPrimMax || | 2427 | part.Scale.Y > m_scene.m_maxPhys || |
2428 | part.Scale.Z > m_scene.RegionInfo.PhysPrimMax) | 2428 | part.Scale.Z > m_scene.m_maxPhys ) |
2429 | { | 2429 | { |
2430 | UsePhysics = false; // Reset physics | 2430 | UsePhysics = false; // Reset physics |
2431 | break; | 2431 | break; |