aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
diff options
context:
space:
mode:
authorRobert Adams2013-06-01 14:52:44 -0700
committerRobert Adams2013-06-01 14:52:44 -0700
commit07058b044be59b6e07efedeca36b2b464e984195 (patch)
treeee85111ad418be454c2ee9a8d0c0da98b9b99480 /OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
parentAdding standard OpenSim header to source files (diff)
downloadopensim-SC_OLD-07058b044be59b6e07efedeca36b2b464e984195.zip
opensim-SC_OLD-07058b044be59b6e07efedeca36b2b464e984195.tar.gz
opensim-SC_OLD-07058b044be59b6e07efedeca36b2b464e984195.tar.bz2
opensim-SC_OLD-07058b044be59b6e07efedeca36b2b464e984195.tar.xz
BulletSim: experimental movement of physics execution off of heartbeat
thread. Off by default until more testing. Setting "[BulletSim]UseSeparatePhysicsThread=true" causes the physics engine to be called on its own thread and the heartbeat thread only handles the reporting of property updates and collisions. Physics frame rate is about right but physics execution time goes to zero as accounted by the heartbeat loop.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
index e11e365..95bdc7b 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSPrim.cs
@@ -1513,7 +1513,8 @@ public class BSPrim : BSPhysObject
1513 CurrentEntityProperties = entprop; 1513 CurrentEntityProperties = entprop;
1514 1514
1515 // Note that BSPrim can be overloaded by BSPrimLinkable which controls updates from root and children prims. 1515 // Note that BSPrim can be overloaded by BSPrimLinkable which controls updates from root and children prims.
1516 base.RequestPhysicsterseUpdate(); 1516
1517 PhysScene.PostUpdate(this);
1517 } 1518 }
1518} 1519}
1519} 1520}