diff options
author | Diva Canto | 2015-08-31 13:02:51 -0700 |
---|---|---|
committer | Diva Canto | 2015-08-31 13:02:51 -0700 |
commit | 134d4300f0b6e9b0df0326cfe0b5df9f41f42865 (patch) | |
tree | 86420f55292ec2f566c10b30cdb52a54e6c0f14c /OpenSim/Region/PhysicsModules/Ode/Tests/ODETestClass.cs | |
parent | Fixed a namespace dependency. Also started preparing prebuild.xml for making ... (diff) | |
download | opensim-SC_OLD-134d4300f0b6e9b0df0326cfe0b5df9f41f42865.zip opensim-SC_OLD-134d4300f0b6e9b0df0326cfe0b5df9f41f42865.tar.gz opensim-SC_OLD-134d4300f0b6e9b0df0326cfe0b5df9f41f42865.tar.bz2 opensim-SC_OLD-134d4300f0b6e9b0df0326cfe0b5df9f41f42865.tar.xz |
All physics plugins are now region modules. Compiles but doesn't run.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/PhysicsModules/Ode/Tests/ODETestClass.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Region/PhysicsModules/Ode/Tests/ODETestClass.cs b/OpenSim/Region/PhysicsModules/Ode/Tests/ODETestClass.cs index bbf64d5..eca670c 100644 --- a/OpenSim/Region/PhysicsModules/Ode/Tests/ODETestClass.cs +++ b/OpenSim/Region/PhysicsModules/Ode/Tests/ODETestClass.cs | |||
@@ -43,7 +43,7 @@ namespace OpenSim.Region.PhysicsModule.ODE.Tests | |||
43 | { | 43 | { |
44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); | 44 | private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType); |
45 | 45 | ||
46 | private OpenSim.Region.PhysicsModule.ODE.OdePlugin cbt; | 46 | //private OpenSim.Region.PhysicsModule.ODE.OdePlugin cbt; |
47 | private PhysicsScene ps; | 47 | private PhysicsScene ps; |
48 | private IMeshingPlugin imp; | 48 | private IMeshingPlugin imp; |
49 | 49 | ||
@@ -55,11 +55,11 @@ namespace OpenSim.Region.PhysicsModule.ODE.Tests | |||
55 | config.Set("DecodedSculptMapPath","j2kDecodeCache"); | 55 | config.Set("DecodedSculptMapPath","j2kDecodeCache"); |
56 | 56 | ||
57 | // Loading ODEPlugin | 57 | // Loading ODEPlugin |
58 | cbt = new OdePlugin(); | 58 | //cbt = new OdePlugin(); |
59 | // Getting Physics Scene | 59 | // Getting Physics Scene |
60 | ps = cbt.GetScene("test"); | 60 | //ps = cbt.GetScene("test"); |
61 | // Initializing Physics Scene. | 61 | // Initializing Physics Scene. |
62 | ps.Initialise(imp.GetMesher(TopConfig),null); | 62 | //ps.Initialise(imp.GetMesher(TopConfig), null, Vector3.Zero); |
63 | float[] _heightmap = new float[(int)Constants.RegionSize * (int)Constants.RegionSize]; | 63 | float[] _heightmap = new float[(int)Constants.RegionSize * (int)Constants.RegionSize]; |
64 | for (int i = 0; i < ((int)Constants.RegionSize * (int)Constants.RegionSize); i++) | 64 | for (int i = 0; i < ((int)Constants.RegionSize * (int)Constants.RegionSize); i++) |
65 | { | 65 | { |