aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs
diff options
context:
space:
mode:
authorRobert Adams2013-01-29 17:01:27 -0800
committerRobert Adams2013-01-29 17:04:28 -0800
commita61ecee227450ea81c9afe85a62b207fefa888a9 (patch)
tree8209ad276576a95e86d054f3e36c70b9ec5fb813 /OpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs
parentminor: change name of json script tests to JsonStoreScriptModuleTests instead... (diff)
downloadopensim-SC-a61ecee227450ea81c9afe85a62b207fefa888a9.zip
opensim-SC-a61ecee227450ea81c9afe85a62b207fefa888a9.tar.gz
opensim-SC-a61ecee227450ea81c9afe85a62b207fefa888a9.tar.bz2
opensim-SC-a61ecee227450ea81c9afe85a62b207fefa888a9.tar.xz
BulletSim: fix physics repositioning when under ground to only happen
for physical objects. Non-physical objects can go anywhere they want.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs')
-rwxr-xr-xOpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs14
1 files changed, 11 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs b/OpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs
index 215e92f..28207a4 100755
--- a/OpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs
@@ -26,6 +26,7 @@
26 */ 26 */
27 27
28using System; 28using System;
29using System.IO;
29using System.Collections.Generic; 30using System.Collections.Generic;
30using System.Linq; 31using System.Linq;
31using System.Text; 32using System.Text;
@@ -65,9 +66,16 @@ public static class BulletSimTestsUtil
65 bulletSimConfig.Set(kvp.Key, kvp.Value); 66 bulletSimConfig.Set(kvp.Key, kvp.Value);
66 } 67 }
67 } 68 }
68 // bulletSimConfig.Set("PhysicsLoggingEnabled","True"); 69
69 // bulletSimConfig.Set("PhysicsLoggingDoFlush","True"); 70 // If a special directory exists, put detailed logging therein.
70 // bulletSimConfig.Set("VehicleLoggingEnabled","True"); 71 // This allows local testing/debugging without having to worry that the build engine will output logs.
72 if (Directory.Exists("physlogs"))
73 {
74 bulletSimConfig.Set("PhysicsLoggingDir","./physlogs");
75 bulletSimConfig.Set("PhysicsLoggingEnabled","True");
76 bulletSimConfig.Set("PhysicsLoggingDoFlush","True");
77 bulletSimConfig.Set("VehicleLoggingEnabled","True");
78 }
71 79
72 BSPlugin bsPlugin = new BSPlugin(); 80 BSPlugin bsPlugin = new BSPlugin();
73 81