Make configuration uniform
Pickup the max physical prim size in Scene to make it uniform since adding code to get default size from the OpenSim*.ini.iar_mods
parent
8923ad755d
commit
4e11983c7c
|
@ -2423,9 +2423,9 @@ namespace OpenSim.Region.Framework.Scenes
|
||||||
for (int i = 0; i < parts.Length; i++)
|
for (int i = 0; i < parts.Length; i++)
|
||||||
{
|
{
|
||||||
SceneObjectPart part = parts[i];
|
SceneObjectPart part = parts[i];
|
||||||
if (part.Scale.X > m_scene.RegionInfo.PhysPrimMax ||
|
if (part.Scale.X > m_scene.m_maxPhys ||
|
||||||
part.Scale.Y > m_scene.RegionInfo.PhysPrimMax ||
|
part.Scale.Y > m_scene.m_maxPhys ||
|
||||||
part.Scale.Z > m_scene.RegionInfo.PhysPrimMax)
|
part.Scale.Z > m_scene.m_maxPhys )
|
||||||
{
|
{
|
||||||
UsePhysics = false; // Reset physics
|
UsePhysics = false; // Reset physics
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue