aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs13
1 files changed, 9 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index a6ffe6e..7295a38 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -73,8 +73,12 @@ namespace OpenSim.Region.Framework.Scenes
73 public List<Border> SouthBorders = new List<Border>(); 73 public List<Border> SouthBorders = new List<Border>();
74 public List<Border> WestBorders = new List<Border>(); 74 public List<Border> WestBorders = new List<Border>();
75 75
76 /// <summary>Are we applying physics to any of the prims in this scene?</summary> 76 /// <summary>
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
79 /// </summary>
77 public bool m_physicalPrim; 80 public bool m_physicalPrim;
81
78 public float m_maxNonphys = 256; 82 public float m_maxNonphys = 256;
79 public float m_maxPhys = 10; 83 public float m_maxPhys = 10;
80 public bool m_clampPrimSize; 84 public bool m_clampPrimSize;
@@ -533,7 +537,7 @@ namespace OpenSim.Region.Framework.Scenes
533 public Scene(RegionInfo regInfo, AgentCircuitManager authen, 537 public Scene(RegionInfo regInfo, AgentCircuitManager authen,
534 SceneCommunicationService sceneGridService, 538 SceneCommunicationService sceneGridService,
535 ISimulationDataService simDataService, IEstateDataService estateDataService, 539 ISimulationDataService simDataService, IEstateDataService estateDataService,
536 ModuleLoader moduleLoader, bool dumpAssetsToFile, bool physicalPrim, 540 ModuleLoader moduleLoader, bool dumpAssetsToFile,
537 bool SeeIntoRegionFromNeighbor, IConfigSource config, string simulatorVersion) 541 bool SeeIntoRegionFromNeighbor, IConfigSource config, string simulatorVersion)
538 : this(regInfo) 542 : this(regInfo)
539 { 543 {
@@ -550,8 +554,7 @@ namespace OpenSim.Region.Framework.Scenes
550 m_EstateDataService = estateDataService; 554 m_EstateDataService = estateDataService;
551 m_regionHandle = m_regInfo.RegionHandle; 555 m_regionHandle = m_regInfo.RegionHandle;
552 m_regionName = m_regInfo.RegionName; 556 m_regionName = m_regInfo.RegionName;
553 557
554 m_physicalPrim = physicalPrim;
555 m_seeIntoRegionFromNeighbor = SeeIntoRegionFromNeighbor; 558 m_seeIntoRegionFromNeighbor = SeeIntoRegionFromNeighbor;
556 559
557 m_asyncSceneObjectDeleter = new AsyncSceneObjectGroupDeleter(this); 560 m_asyncSceneObjectDeleter = new AsyncSceneObjectGroupDeleter(this);
@@ -676,6 +679,8 @@ namespace OpenSim.Region.Framework.Scenes
676 // TODO: Change default to true once the feature is supported 679 // TODO: Change default to true once the feature is supported
677 m_usePreJump = startupConfig.GetBoolean("enableprejump", false); 680 m_usePreJump = startupConfig.GetBoolean("enableprejump", false);
678 681
682 m_physicalPrim = startupConfig.GetBoolean("physical_prim", true);
683
679 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys); 684 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys);
680 if (RegionInfo.NonphysPrimMax > 0) 685 if (RegionInfo.NonphysPrimMax > 0)
681 { 686 {