aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Framework/Scenes/Scene.cs
diff options
context:
space:
mode:
authorMelanie2011-10-25 01:55:01 +0100
committerMelanie2011-10-25 01:55:01 +0100
commitf50538c81afe4c44e491c867cebb1674b682147b (patch)
treed2e7b8e9e4eb7cb41217265ad25da6153d477b79 /OpenSim/Region/Framework/Scenes/Scene.cs
parentMerge commit '5ddefc256468e4b394d82a2c4bc69fe28c4b59ea' into bigmerge (diff)
parentfetch physical_prim switch from [Startup] config from inside scene, as is don... (diff)
downloadopensim-SC_OLD-f50538c81afe4c44e491c867cebb1674b682147b.zip
opensim-SC_OLD-f50538c81afe4c44e491c867cebb1674b682147b.tar.gz
opensim-SC_OLD-f50538c81afe4c44e491c867cebb1674b682147b.tar.bz2
opensim-SC_OLD-f50538c81afe4c44e491c867cebb1674b682147b.tar.xz
Merge commit '528cc8136e567b5bac583728fbb0235baaba2f02' into bigmerge
Conflicts: OpenSim/Region/Framework/Scenes/Scene.cs OpenSim/Region/Framework/Scenes/SceneObjectPart.cs
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs12
1 files changed, 10 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 03b5d36..4d8a759 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;
@@ -552,7 +556,7 @@ namespace OpenSim.Region.Framework.Scenes
552 public Scene(RegionInfo regInfo, AgentCircuitManager authen, 556 public Scene(RegionInfo regInfo, AgentCircuitManager authen,
553 SceneCommunicationService sceneGridService, 557 SceneCommunicationService sceneGridService,
554 ISimulationDataService simDataService, IEstateDataService estateDataService, 558 ISimulationDataService simDataService, IEstateDataService estateDataService,
555 ModuleLoader moduleLoader, bool dumpAssetsToFile, bool physicalPrim, 559 ModuleLoader moduleLoader, bool dumpAssetsToFile,
556 bool SeeIntoRegionFromNeighbor, IConfigSource config, string simulatorVersion) 560 bool SeeIntoRegionFromNeighbor, IConfigSource config, string simulatorVersion)
557 : this(regInfo) 561 : this(regInfo)
558 { 562 {
@@ -574,6 +578,7 @@ namespace OpenSim.Region.Framework.Scenes
574 m_lastOutgoing = 0; 578 m_lastOutgoing = 0;
575 579
576 m_physicalPrim = physicalPrim; 580 m_physicalPrim = physicalPrim;
581
577 m_seeIntoRegionFromNeighbor = SeeIntoRegionFromNeighbor; 582 m_seeIntoRegionFromNeighbor = SeeIntoRegionFromNeighbor;
578 583
579 m_asyncSceneObjectDeleter = new AsyncSceneObjectGroupDeleter(this); 584 m_asyncSceneObjectDeleter = new AsyncSceneObjectGroupDeleter(this);
@@ -697,6 +702,9 @@ namespace OpenSim.Region.Framework.Scenes
697 m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false); 702 m_useFlySlow = startupConfig.GetBoolean("enableflyslow", false);
698 // TODO: Change default to true once the feature is supported 703 // TODO: Change default to true once the feature is supported
699 m_usePreJump = startupConfig.GetBoolean("enableprejump", true); 704 m_usePreJump = startupConfig.GetBoolean("enableprejump", true);
705
706 m_physicalPrim = startupConfig.GetBoolean("physical_prim", true);
707
700 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys); 708 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys);
701 709
702 m_log.DebugFormat("[SCENE]: prejump is {0}", m_usePreJump ? "ON" : "OFF"); 710 m_log.DebugFormat("[SCENE]: prejump is {0}", m_usePreJump ? "ON" : "OFF");