aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs14
1 files changed, 9 insertions, 5 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
index 7632e25..9ca2d3f 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs
@@ -455,15 +455,15 @@ namespace OpenSim.Region.Physics.OdePlugin
455 455
456 geomDefaultDensity = physicsconfig.GetFloat("geometry_default_density", geomDefaultDensity); 456 geomDefaultDensity = physicsconfig.GetFloat("geometry_default_density", geomDefaultDensity);
457 bodyFramesAutoDisable = physicsconfig.GetInt("body_frames_auto_disable", bodyFramesAutoDisable); 457 bodyFramesAutoDisable = physicsconfig.GetInt("body_frames_auto_disable", bodyFramesAutoDisable);
458 458/*
459 bodyPIDD = physicsconfig.GetFloat("body_pid_derivative", bodyPIDD); 459 bodyPIDD = physicsconfig.GetFloat("body_pid_derivative", bodyPIDD);
460 bodyPIDG = physicsconfig.GetFloat("body_pid_gain", bodyPIDG); 460 bodyPIDG = physicsconfig.GetFloat("body_pid_gain", bodyPIDG);
461 461*/
462 forceSimplePrimMeshing = physicsconfig.GetBoolean("force_simple_prim_meshing", forceSimplePrimMeshing); 462 forceSimplePrimMeshing = physicsconfig.GetBoolean("force_simple_prim_meshing", forceSimplePrimMeshing);
463 meshSculptedPrim = physicsconfig.GetBoolean("mesh_sculpted_prim", meshSculptedPrim); 463 meshSculptedPrim = physicsconfig.GetBoolean("mesh_sculpted_prim", meshSculptedPrim);
464 meshSculptLOD = physicsconfig.GetFloat("mesh_lod", meshSculptLOD); 464 meshSculptLOD = physicsconfig.GetFloat("mesh_lod", meshSculptLOD);
465 MeshSculptphysicalLOD = physicsconfig.GetFloat("mesh_physical_lod", MeshSculptphysicalLOD); 465 MeshSculptphysicalLOD = physicsconfig.GetFloat("mesh_physical_lod", MeshSculptphysicalLOD);
466 466/*
467 if (Environment.OSVersion.Platform == PlatformID.Unix) 467 if (Environment.OSVersion.Platform == PlatformID.Unix)
468 { 468 {
469 avPIDD = physicsconfig.GetFloat("av_pid_derivative_linux", avPIDD); 469 avPIDD = physicsconfig.GetFloat("av_pid_derivative_linux", avPIDD);
@@ -471,10 +471,11 @@ namespace OpenSim.Region.Physics.OdePlugin
471 } 471 }
472 else 472 else
473 { 473 {
474
474 avPIDD = physicsconfig.GetFloat("av_pid_derivative_win", avPIDD); 475 avPIDD = physicsconfig.GetFloat("av_pid_derivative_win", avPIDD);
475 avPIDP = physicsconfig.GetFloat("av_pid_proportional_win", avPIDP); 476 avPIDP = physicsconfig.GetFloat("av_pid_proportional_win", avPIDP);
476 } 477 }
477 478*/
478 physics_logging = physicsconfig.GetBoolean("physics_logging", false); 479 physics_logging = physicsconfig.GetBoolean("physics_logging", false);
479 physics_logging_interval = physicsconfig.GetInt("physics_logging_interval", 0); 480 physics_logging_interval = physicsconfig.GetInt("physics_logging_interval", 0);
480 physics_logging_append_existing_logfile = physicsconfig.GetBoolean("physics_logging_append_existing_logfile", false); 481 physics_logging_append_existing_logfile = physicsconfig.GetBoolean("physics_logging_append_existing_logfile", false);
@@ -1860,6 +1861,9 @@ namespace OpenSim.Region.Physics.OdePlugin
1860 1861
1861 statstart = Util.EnvironmentTickCount(); 1862 statstart = Util.EnvironmentTickCount();
1862 1863
1864/*
1865// now included in characters move() and done at ode rate
1866// maybe be needed later if we need to do any extra work at hearbeat rate
1863 lock (_characters) 1867 lock (_characters)
1864 { 1868 {
1865 foreach (OdeCharacter actor in _characters) 1869 foreach (OdeCharacter actor in _characters)
@@ -1873,7 +1877,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1873 } 1877 }
1874 } 1878 }
1875 } 1879 }
1876 1880*/
1877 lock (_badCharacter) 1881 lock (_badCharacter)
1878 { 1882 {
1879 if (_badCharacter.Count > 0) 1883 if (_badCharacter.Count > 0)