aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBlueWall2012-09-18 09:47:15 -0400
committerBlueWall2012-09-18 09:53:45 -0400
commitd29fc5305222abcc081daa7aa4b0b017d04bbae1 (patch)
treef3f63ea561e60d426ef41e218a7a591a9b603fb4
parentMoving ScriptModuleComms into the CoreModules tree. (diff)
downloadopensim-SC_OLD-d29fc5305222abcc081daa7aa4b0b017d04bbae1.zip
opensim-SC_OLD-d29fc5305222abcc081daa7aa4b0b017d04bbae1.tar.gz
opensim-SC_OLD-d29fc5305222abcc081daa7aa4b0b017d04bbae1.tar.bz2
opensim-SC_OLD-d29fc5305222abcc081daa7aa4b0b017d04bbae1.tar.xz
Fix some inconsistencies in configurartion: NonPhys prims
Fix inconsistencies between configuration parameter names and their description names. Changing the configuration parameters for non physical prim size min-max from Nonphys* to NonPhys*. Please update your OpenSim.ini and Regions.ini to reflect these changes.
-rw-r--r--OpenSim/Framework/RegionInfo.cs8
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs6
-rw-r--r--bin/OpenSim.ini.example8
-rw-r--r--bin/OpenSimDefaults.ini4
4 files changed, 13 insertions, 13 deletions
diff --git a/OpenSim/Framework/RegionInfo.cs b/OpenSim/Framework/RegionInfo.cs
index 928e798..016f2a6 100644
--- a/OpenSim/Framework/RegionInfo.cs
+++ b/OpenSim/Framework/RegionInfo.cs
@@ -643,11 +643,11 @@ namespace OpenSim.Framework
643 643
644 #region Prim stuff 644 #region Prim stuff
645 645
646 m_nonphysPrimMin = config.GetFloat("NonphysicalPrimMin", 0); 646 m_nonphysPrimMin = config.GetFloat("NonPhysicalPrimMin", 0);
647 allKeys.Remove("NonphysicalPrimMin"); 647 allKeys.Remove("NonPhysicalPrimMin");
648 648
649 m_nonphysPrimMax = config.GetInt("NonphysicalPrimMax", 0); 649 m_nonphysPrimMax = config.GetInt("NonPhysicalPrimMax", 0);
650 allKeys.Remove("NonphysicalPrimMax"); 650 allKeys.Remove("NonPhysicalPrimMax");
651 651
652 m_physPrimMin = config.GetFloat("PhysicalPrimMin", 0); 652 m_physPrimMin = config.GetFloat("PhysicalPrimMin", 0);
653 allKeys.Remove("PhysicalPrimMin"); 653 allKeys.Remove("PhysicalPrimMin");
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 9c3c53d..a27e126 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -116,7 +116,7 @@ namespace OpenSim.Region.Framework.Scenes
116 /// <summary> 116 /// <summary>
117 /// Minimum value of the size of a physical prim in each axis 117 /// Minimum value of the size of a physical prim in each axis
118 /// </summary> 118 /// </summary>
119 public float m_minPhys = 0.01f; 119 public float m_minPhys = 0.001f;
120 120
121 /// <summary> 121 /// <summary>
122 /// Maximum value of the size of a physical prim in each axis 122 /// Maximum value of the size of a physical prim in each axis
@@ -744,13 +744,13 @@ namespace OpenSim.Region.Framework.Scenes
744 PhysicalPrims = startupConfig.GetBoolean("physical_prim", PhysicalPrims); 744 PhysicalPrims = startupConfig.GetBoolean("physical_prim", PhysicalPrims);
745 CollidablePrims = startupConfig.GetBoolean("collidable_prim", CollidablePrims); 745 CollidablePrims = startupConfig.GetBoolean("collidable_prim", CollidablePrims);
746 746
747 m_minNonphys = startupConfig.GetFloat("NonphysicalPrimMin", m_minNonphys); 747 m_minNonphys = startupConfig.GetFloat("NonPhysicalPrimMin", m_minNonphys);
748 if (RegionInfo.NonphysPrimMin > 0) 748 if (RegionInfo.NonphysPrimMin > 0)
749 { 749 {
750 m_minNonphys = RegionInfo.NonphysPrimMin; 750 m_minNonphys = RegionInfo.NonphysPrimMin;
751 } 751 }
752 752
753 m_maxNonphys = startupConfig.GetFloat("NonphysicalPrimMax", m_maxNonphys); 753 m_maxNonphys = startupConfig.GetFloat("NonPhysicalPrimMax", m_maxNonphys);
754 if (RegionInfo.NonphysPrimMax > 0) 754 if (RegionInfo.NonphysPrimMax > 0)
755 { 755 {
756 m_maxNonphys = RegionInfo.NonphysPrimMax; 756 m_maxNonphys = RegionInfo.NonphysPrimMax;
diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example
index 0de4002..cd90517 100644
--- a/bin/OpenSim.ini.example
+++ b/bin/OpenSim.ini.example
@@ -88,12 +88,12 @@
88 ; allow_regionless = false 88 ; allow_regionless = false
89 89
90 ;# {NonPhysicalPrimMin} {} {Minimum size of nonphysical prims?} {} 0.01 90 ;# {NonPhysicalPrimMin} {} {Minimum size of nonphysical prims?} {} 0.01
91 ;; Minimum size for non-physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonphysicalPrimMin!). 91 ;; Minimum size for non-physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonPhysicalPrimMin!).
92 ; NonphysicalPrimMin = 0.01 92 ; NonPhysicalPrimMin = 0.01
93 93
94 ;# {NonPhysicalPrimMax} {} {Maximum size of nonphysical prims?} {} 256 94 ;# {NonPhysicalPrimMax} {} {Maximum size of nonphysical prims?} {} 256
95 ;; Maximum size for non-physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonphysicalPrimMax!). 95 ;; Maximum size for non-physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonPhysicalPrimMax!).
96 ; NonphysicalPrimMax = 256 96 ; NonPhysicalPrimMax = 256
97 97
98 ;# {PhysicalPrimMin} {} {Minimum size of physical prims?} {} 10 98 ;# {PhysicalPrimMin} {} {Minimum size of physical prims?} {} 10
99 ;; Maximum size where a prim can be physical. Affects resizing of existing prims. This can be overriden in the region config file. 99 ;; Maximum size where a prim can be physical. Affects resizing of existing prims. This can be overriden in the region config file.
diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini
index 0173f5b..ef4f578 100644
--- a/bin/OpenSimDefaults.ini
+++ b/bin/OpenSimDefaults.ini
@@ -85,8 +85,8 @@
85 ;; from the selected region_info_source. 85 ;; from the selected region_info_source.
86 allow_regionless = false 86 allow_regionless = false
87 87
88 ; Maximum size of non physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonphysicalPrimMax!). 88 ; Maximum size of non physical prims. Affects resizing of existing prims. This can be overriden in the region config file (as NonPhysicalPrimMax!).
89 NonphysicalPrimMax = 256 89 NonPhysicalPrimMax = 256
90 90
91 ; Maximum size of physical prims. Affects resizing of existing prims. This can be overriden in the region config file. 91 ; Maximum size of physical prims. Affects resizing of existing prims. This can be overriden in the region config file.
92 PhysicalPrimMax = 10 92 PhysicalPrimMax = 10