aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/Tests/BulletSimTestsUtil.cs
diff options
context:
space:
mode:
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