diff options
author | Adam Frisby | 2007-07-29 09:37:29 +0000 |
---|---|---|
committer | Adam Frisby | 2007-07-29 09:37:29 +0000 |
commit | 038774de30ce26120c91ccd8e1cda1b2a89e1841 (patch) | |
tree | f7f6e0c7027737b7ad77cbb4de09b734c436e903 /OpenSim/Region/Environment | |
parent | * Fixed an issue with Mono/UNIX filenames and DB4o storage engine. (diff) | |
download | opensim-SC_OLD-038774de30ce26120c91ccd8e1cda1b2a89e1841.zip opensim-SC_OLD-038774de30ce26120c91ccd8e1cda1b2a89e1841.tar.gz opensim-SC_OLD-038774de30ce26120c91ccd8e1cda1b2a89e1841.tar.bz2 opensim-SC_OLD-038774de30ce26120c91ccd8e1cda1b2a89e1841.tar.xz |
Commit 1/2
* DB4o no longer crashes the sim on Startup
* DB4o now crashes the sim on shutdown.
* Variety of console verbosity fixes.
Diffstat (limited to 'OpenSim/Region/Environment')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/Primitive.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/Environment/StorageManager.cs | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Primitive.cs b/OpenSim/Region/Environment/Scenes/Primitive.cs index ce5c327..5f5113d 100644 --- a/OpenSim/Region/Environment/Scenes/Primitive.cs +++ b/OpenSim/Region/Environment/Scenes/Primitive.cs | |||
@@ -171,7 +171,8 @@ namespace OpenSim.Region.Environment.Scenes | |||
171 | 171 | ||
172 | ~Primitive() | 172 | ~Primitive() |
173 | { | 173 | { |
174 | OnPrimCountTainted(); | 174 | if (OnPrimCountTainted != null) |
175 | OnPrimCountTainted(); | ||
175 | } | 176 | } |
176 | 177 | ||
177 | #endregion | 178 | #endregion |
diff --git a/OpenSim/Region/Environment/StorageManager.cs b/OpenSim/Region/Environment/StorageManager.cs index fb12c4d..a7d67d3 100644 --- a/OpenSim/Region/Environment/StorageManager.cs +++ b/OpenSim/Region/Environment/StorageManager.cs | |||
@@ -32,6 +32,7 @@ namespace OpenSim.Region.Environment | |||
32 | 32 | ||
33 | public StorageManager(string dllName, string dataStoreFile, string dataStoreDB) | 33 | public StorageManager(string dllName, string dataStoreFile, string dataStoreDB) |
34 | { | 34 | { |
35 | OpenSim.Framework.Console.MainLog.Instance.Verbose("DATASTORE", "Attempting to load " + dllName); | ||
35 | Assembly pluginAssembly = Assembly.LoadFrom(dllName); | 36 | Assembly pluginAssembly = Assembly.LoadFrom(dllName); |
36 | 37 | ||
37 | foreach (Type pluginType in pluginAssembly.GetTypes()) | 38 | foreach (Type pluginType in pluginAssembly.GetTypes()) |
@@ -46,6 +47,8 @@ namespace OpenSim.Region.Environment | |||
46 | plug.Initialise(dataStoreFile, dataStoreDB); | 47 | plug.Initialise(dataStoreFile, dataStoreDB); |
47 | 48 | ||
48 | m_dataStore = plug; | 49 | m_dataStore = plug; |
50 | |||
51 | OpenSim.Framework.Console.MainLog.Instance.Verbose("DATASTORE", "Added IRegionDataStore Interface"); | ||
49 | } | 52 | } |
50 | 53 | ||
51 | typeInterface = null; | 54 | typeInterface = null; |