From d1e0b642f409196fa4530a51dd9905c61ebdc38b Mon Sep 17 00:00:00 2001 From: Tedd Hansen Date: Mon, 11 Feb 2008 18:04:12 +0000 Subject: [PATCH] * Renamed and moved avatar appearance config keys. Everyone who has appearance persistence needs to set new params for it (check OpenSim.ini.example) New keys "appearance_persist" and "appearance_connection_string" are now under [Startup]. * Reorganized OpenSim.ini slightly --- .../Modules/AvatarFactoryModule.cs | 4 +- bin/OpenSim.ini.example | 56 ++++++++++--------- 2 files changed, 33 insertions(+), 27 deletions(-) diff --git a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs index 0dafdc373a..21a416a793 100644 --- a/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs +++ b/OpenSim/Region/Environment/Modules/AvatarFactoryModule.cs @@ -100,8 +100,8 @@ namespace OpenSim.Region.Environment.Modules m_configured = true; try { - m_enablePersist = source.Configs["Appearance"].GetBoolean("persist", false); - m_connectionString = source.Configs["Appearance"].GetString("connection_string", ""); + m_enablePersist = source.Configs["Startup"].GetBoolean("appearance_persist", false); + m_connectionString = source.Configs["Startup"].GetString("appearance_connection_string", ""); } catch (Exception) { diff --git a/bin/OpenSim.ini.example b/bin/OpenSim.ini.example index 21d236f99d..ce2f02e973 100644 --- a/bin/OpenSim.ini.example +++ b/bin/OpenSim.ini.example @@ -1,20 +1,9 @@ [Startup] gridmode = false -; Select a mesher here. ZeroMesher is save and fast. -; ZeroMesher also means that the physics engine models the physics of prims -; sticking to the basic shapes the engine does support. Usually this is only a box. -; Meshmerizer gives a better handling of complex prims by using triangle meshes. -; Note, that only ODE physics currently deals with meshed prims in a satisfactoring way -; -meshing = ZeroMesher -;meshing = Meshmerizer - -; Choose one of the physics engines below -physics = basicphysics -;physics = POS -;physics = OpenDynamicsEngine -;physics = modified_BulletX +; ## +; ## STORAGE +; ## ; *** Prim Storage - only leave one storage_plugin uncommented *** ; --- The NullStorage stores nothing - effectively disabling persistence: @@ -39,9 +28,9 @@ storage_connection_string="URI=file:OpenSim.db,version=3"; ; storage_prim_inventories = true -startup_console_commands_file = "startup_commands.txt" -shutdown_console_commands_file = "shutdown_commands.txt" -serverside_object_permissions = false +; Avatar appearance persistence +appearance_persist = false +appearance_connection_string = "Data Source=localhost;Database=avatar_appearance;User ID=root;Password=xxxx;pooling=false;" ; Select the type of database to use for asset storage ;asset_database = "db4o" @@ -49,7 +38,32 @@ asset_database = "sqlite" ;asset_database = "grid" ;asset_database = "mssql" + + +; ## +; ## PHYSICS +; ## + +; Select a mesher here. ZeroMesher is save and fast. +; ZeroMesher also means that the physics engine models the physics of prims +; sticking to the basic shapes the engine does support. Usually this is only a box. +; Meshmerizer gives a better handling of complex prims by using triangle meshes. +; Note, that only ODE physics currently deals with meshed prims in a satisfactoring way +; +meshing = ZeroMesher +;meshing = Meshmerizer + +; Choose one of the physics engines below +physics = basicphysics +;physics = POS +;physics = OpenDynamicsEngine +;physics = modified_BulletX + + verbose = true +startup_console_commands_file = "startup_commands.txt" +shutdown_console_commands_file = "shutdown_commands.txt" +serverside_object_permissions = false ; if you would like to allow prim to be physical and move by physics with the physical checkbox in the client set this to true. @@ -58,9 +72,6 @@ physical_prim = true ; To run a script every few minutes, set the script filename here ; timer_Script = "filename" -; If you would like to see into this region from neighbor simulators -see_into_this_sim_from_neighbor = true - [StandAlone] accounts_authenticate = true welcome_message = "Welcome to OpenSim" @@ -244,8 +255,3 @@ CompileWithDebugInformation=true ; Remove old scripts on next startup CleanUpOldScriptsOnStartup=true - -[Appearance] -persist = false -connection_string = "Data Source=localhost;Database=avatar_appearance;User ID=root;Password=xxxx;pooling=false;" -