aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2011-12-22 19:52:59 +0000
committerMelanie2011-12-22 19:52:59 +0000
commiteef6f920295f0d22b37513e6c8eb5eb42b7a0c75 (patch)
tree72a603500425f1fb628e4efa808f3c1ee03e763f /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge branch 'master' into careminster (diff)
parentrename Scene.m_physicalPrim to PhysicalPrims since its public and access exte... (diff)
downloadopensim-SC_OLD-eef6f920295f0d22b37513e6c8eb5eb42b7a0c75.zip
opensim-SC_OLD-eef6f920295f0d22b37513e6c8eb5eb42b7a0c75.tar.gz
opensim-SC_OLD-eef6f920295f0d22b37513e6c8eb5eb42b7a0c75.tar.bz2
opensim-SC_OLD-eef6f920295f0d22b37513e6c8eb5eb42b7a0c75.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs13
1 files changed, 11 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index c2ba893..b828f39 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -77,7 +77,15 @@ namespace OpenSim.Region.Framework.Scenes
77 /// Controls whether physics can be applied to prims. Even if false, prims still have entries in a 77 /// Controls whether physics can be applied to prims. Even if false, prims still have entries in a
78 /// PhysicsScene in order to perform collision detection 78 /// PhysicsScene in order to perform collision detection
79 /// </summary> 79 /// </summary>
80 public bool m_physicalPrim; 80 public bool PhysicalPrims { get; private set; }
81
82 /// <summary>
83 /// Controls whether prims can be collided with.
84 /// </summary>
85 /// <remarks>
86 /// If this is set to false then prims cannot be subject to physics either.
87 /// </summary>
88 public bool CollidablePrims { get; private set; }
81 89
82 public float m_maxNonphys = 256; 90 public float m_maxNonphys = 256;
83 public float m_maxPhys = 10; 91 public float m_maxPhys = 10;
@@ -673,7 +681,8 @@ namespace OpenSim.Region.Framework.Scenes
673 //Animation states 681 //Animation states
674 m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false); 682 m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false);
675 683
676 m_physicalPrim = startupConfig.GetBoolean("physical_prim", true); 684 PhysicalPrims = startupConfig.GetBoolean("physical_prim", true);
685 CollidablePrims = startupConfig.GetBoolean("collidable_prim", true);
677 686
678 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys); 687 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys);
679 688