rename Scene.m_physicalPrim to PhysicalPrims since its public and access external as a property

avinationmerge
Justin Clark-Casey (justincc) 2011-12-22 19:57:50 +00:00
parent f7dbdba447
commit 7ccd8f8f1d
2 changed files with 3 additions and 3 deletions

View File

@ -77,7 +77,7 @@ namespace OpenSim.Region.Framework.Scenes
/// Controls whether physics can be applied to prims. Even if false, prims still have entries in a /// Controls whether physics can be applied to prims. Even if false, prims still have entries in a
/// PhysicsScene in order to perform collision detection /// PhysicsScene in order to perform collision detection
/// </summary> /// </summary>
public bool m_physicalPrim; public bool PhysicalPrims { get; private set; }
/// <summary> /// <summary>
/// Controls whether prims can be collided with. /// Controls whether prims can be collided with.
@ -658,7 +658,7 @@ namespace OpenSim.Region.Framework.Scenes
//Animation states //Animation states
m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false); m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false);
m_physicalPrim = startupConfig.GetBoolean("physical_prim", true); PhysicalPrims = startupConfig.GetBoolean("physical_prim", true);
CollidablePrims = startupConfig.GetBoolean("collidable_prim", true); CollidablePrims = startupConfig.GetBoolean("collidable_prim", true);
m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys); m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys);

View File

@ -1742,7 +1742,7 @@ namespace OpenSim.Region.Framework.Scenes
/// <param name="isNew"></param> /// <param name="isNew"></param>
public void DoPhysicsPropertyUpdate(bool UsePhysics, bool isNew) public void DoPhysicsPropertyUpdate(bool UsePhysics, bool isNew)
{ {
if (!ParentGroup.Scene.m_physicalPrim && UsePhysics) if (!ParentGroup.Scene.PhysicalPrims && UsePhysics)
return; return;
if (IsJoint()) if (IsJoint())