diff options
author | Robert Adams | 2011-08-18 14:32:09 -0700 |
---|---|---|
committer | Mic Bowman | 2011-08-18 14:32:09 -0700 |
commit | fef73a1a1011126d4df2da2279caae9cef7984d1 (patch) | |
tree | af54473f37f419648b98c4b8ddc815ff7aea98a3 /OpenSim/Region/Framework | |
parent | BulletSim: fix problem with not convex hulling large objects by creating unit... (diff) | |
download | opensim-SC-fef73a1a1011126d4df2da2279caae9cef7984d1.zip opensim-SC-fef73a1a1011126d4df2da2279caae9cef7984d1.tar.gz opensim-SC-fef73a1a1011126d4df2da2279caae9cef7984d1.tar.bz2 opensim-SC-fef73a1a1011126d4df2da2279caae9cef7984d1.tar.xz |
BulletSim: add runtime setting of physics parameters. Update default values.
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/SceneManager.cs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/SceneManager.cs b/OpenSim/Region/Framework/Scenes/SceneManager.cs index 86ba2aa..97ee844 100644 --- a/OpenSim/Region/Framework/Scenes/SceneManager.cs +++ b/OpenSim/Region/Framework/Scenes/SceneManager.cs | |||
@@ -47,6 +47,12 @@ namespace OpenSim.Region.Framework.Scenes | |||
47 | 47 | ||
48 | public event RestartSim OnRestartSim; | 48 | public event RestartSim OnRestartSim; |
49 | 49 | ||
50 | private static SceneManager m_instance = null; | ||
51 | public static SceneManager Instance | ||
52 | { | ||
53 | get { return m_instance; } | ||
54 | } | ||
55 | |||
50 | private readonly List<Scene> m_localScenes; | 56 | private readonly List<Scene> m_localScenes; |
51 | private Scene m_currentScene = null; | 57 | private Scene m_currentScene = null; |
52 | 58 | ||
@@ -84,6 +90,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
84 | 90 | ||
85 | public SceneManager() | 91 | public SceneManager() |
86 | { | 92 | { |
93 | m_instance = this; | ||
87 | m_localScenes = new List<Scene>(); | 94 | m_localScenes = new List<Scene>(); |
88 | } | 95 | } |
89 | 96 | ||